This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
pyenv
mirror of
https://github.com/pyenv/pyenv.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
241
Wiki
Activity
Browse Source
Shebang -e flag
pull/360/head^2
Joshua Peek
15 years ago
parent
41c5ac5a33
commit
c957d83b3a
10 changed files
with
10 additions
and
30 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
bin/rbenv
+1
-3
bin/rbenv-exec
+1
-3
bin/rbenv-path
+1
-3
bin/rbenv-rehash
+1
-3
bin/rbenv-set-default
+1
-3
bin/rbenv-set-local
+1
-3
bin/rbenv-shim
+1
-3
bin/rbenv-version
+1
-3
bin/rbenv-versions
+1
-3
bin/rbenv-which
+ 1
- 3
bin/rbenv
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
command="$1"
if [ -z "$command" ]; then
+ 1
- 3
bin/rbenv-exec
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
RBENV_COMMAND="$1"
if [ -z "$RBENV_COMMAND" ]; then
+ 1
- 3
bin/rbenv-path
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
if [ -n "$1" ]; then
RBENV_VERSION="$1"
+ 1
- 3
bin/rbenv-rehash
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
mkdir -p "${HOME}/.rbenv/shims"
cd "${HOME}/.rbenv/shims"
+ 1
- 3
bin/rbenv-set-default
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
RBENV_VERSION="$1"
if [ -z "$RBENV_VERSION" ]; then
+ 1
- 3
bin/rbenv-set-local
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
RBENV_VERSION="$1"
if [ -z "$RBENV_VERSION" ]; then
+ 1
- 3
bin/rbenv-shim
View File
@ -1,5 +1,3 @@
#!/bin/bash
set -e
#!/bin/bash -e
exec rbenv-exec "${0##*/}" "$@"
+ 1
- 3
bin/rbenv-version
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
read_version_file() {
egrep -m 1 '[^[:space:]]' "$1"
+ 1
- 3
bin/rbenv-versions
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
RBENV_VERSION="$(rbenv-version)"
+ 1
- 3
bin/rbenv-which
View File
@ -1,6 +1,4 @@
#!/bin/bash
set -e
#!/bin/bash -e
RBENV_VERSION="$(rbenv-version)"
RBENV_COMMAND="$1"
Write
Preview
Loading…
Cancel
Save