mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
fixed scripts so msfconsole can handle arguments with spaces
git-svn-id: file:///home/svn/framework3/trunk@10619 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
abf19e002d
commit
f90af58fdf
2
external/installer-linux/scripts/env.sh
vendored
2
external/installer-linux/scripts/env.sh
vendored
@ -8,5 +8,5 @@ unset MY_RUBY_HOME
|
||||
unset RUBY_VERSION
|
||||
unset RUBY_OPTS
|
||||
|
||||
$@
|
||||
"$@"
|
||||
|
||||
|
4
external/installer-linux/scripts/run.sh
vendored
4
external/installer-linux/scripts/run.sh
vendored
@ -24,8 +24,8 @@ unset RUBY_VERSION
|
||||
unset RUBY_OPTS
|
||||
|
||||
if [ -f "${BASE}/msf3/${NAME}" ]; then
|
||||
exec ${BASE}/msf3/${NAME} $@
|
||||
exec ${BASE}/msf3/${NAME} "$@"
|
||||
fi
|
||||
|
||||
exec ${NAME} $@
|
||||
exec ${NAME} "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user