Quote $@
This commit is contained in:
parent
ce8d3278a4
commit
6df306d8f8
2
bin/rbenv-rehash
Executable file → Normal file
2
bin/rbenv-rehash
Executable file → Normal file
@ -8,7 +8,7 @@ for file in ../versions/*/bin/*; do
|
|||||||
shim="${file##*/}"
|
shim="${file##*/}"
|
||||||
cat > "$shim" <<SH
|
cat > "$shim" <<SH
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec rbenv exec $shim \$@
|
exec rbenv exec $shim "\$@"
|
||||||
SH
|
SH
|
||||||
chmod +x "$shim"
|
chmod +x "$shim"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user