diff options
author | lioux <lioux@FreeBSD.org> | 2002-08-16 02:18:14 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-08-16 02:18:14 +0000 |
commit | ebedf264755ce48d2593cff24a790c5c99217c9a (patch) | |
tree | 6c4b59333e54781a9bbbf49a2f1f06d23d63f3d0 | |
parent | 2ac0f23ba71ff5be7bc91ad91ec26538c24fce75 (diff) | |
download | FreeBSD-ports-ebedf264755ce48d2593cff24a790c5c99217c9a.zip FreeBSD-ports-ebedf264755ce48d2593cff24a790c5c99217c9a.tar.gz |
Replace sh shell parameter $* with safer "${@}"
-rw-r--r-- | audio/agbrowser/files/wrapper.sh | 2 | ||||
-rw-r--r-- | audio/agsatellite/files/wrapper.sh | 2 | ||||
-rw-r--r-- | graphics/aoi/files/wrapper.sh | 2 | ||||
-rw-r--r-- | graphics/linux-divxplayer/files/wrapper.sh | 2 | ||||
-rw-r--r-- | multimedia/linux-divxplayer/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net-p2p/javadc/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net-p2p/linux-agsatellite/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net-p2p/linux-edonkey-core/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net-p2p/phex/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/edonkey-core/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/edonkey-gui-java/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/javadc/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/jift/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/linux-agsatellite/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/linux-edonkey-core/files/wrapper.sh | 2 | ||||
-rw-r--r-- | net/phex/files/wrapper.sh | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/audio/agbrowser/files/wrapper.sh b/audio/agbrowser/files/wrapper.sh index d18f9a6..7eb49f8 100644 --- a/audio/agbrowser/files/wrapper.sh +++ b/audio/agbrowser/files/wrapper.sh @@ -13,4 +13,4 @@ fi cd ${HOME}/.agsatellite && echo Running Audio Galaxy Browser under ${HOME}/.agsatellite && echo Use this directory as the Satellite Directory in the Settings Tab && - exec ${PREFIX}/bin/${PROGRAM##*/}-real ${*} + exec ${PREFIX}/bin/${PROGRAM##*/}-real "${@}" diff --git a/audio/agsatellite/files/wrapper.sh b/audio/agsatellite/files/wrapper.sh index e53603d..ce5b7d7 100644 --- a/audio/agsatellite/files/wrapper.sh +++ b/audio/agsatellite/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || cd ${HOME}/.agsatellite && echo Running Audio Galaxy Satellite under ${HOME}/.agsatellite && echo Create both account.txt and shares.txt files under ${HOME}/.agsatellite && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${HOME}/.agsatellite, make sure you have the proper permissions to create itnd try again } diff --git a/graphics/aoi/files/wrapper.sh b/graphics/aoi/files/wrapper.sh index b4039bc..5252f68 100644 --- a/graphics/aoi/files/wrapper.sh +++ b/graphics/aoi/files/wrapper.sh @@ -6,4 +6,4 @@ JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" ( cd ${PREFIX}/${JAR_DIR} && \ - ${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* ) + ${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" ) diff --git a/graphics/linux-divxplayer/files/wrapper.sh b/graphics/linux-divxplayer/files/wrapper.sh index 5b56eef..06da03f 100644 --- a/graphics/linux-divxplayer/files/wrapper.sh +++ b/graphics/linux-divxplayer/files/wrapper.sh @@ -11,4 +11,4 @@ then rm -f ~/.divxPlayer/DivXPlayer.dbf fi -exec ${PROGRAM}.bin ${*} +exec ${PROGRAM}.bin "${@}" diff --git a/multimedia/linux-divxplayer/files/wrapper.sh b/multimedia/linux-divxplayer/files/wrapper.sh index 5b56eef..06da03f 100644 --- a/multimedia/linux-divxplayer/files/wrapper.sh +++ b/multimedia/linux-divxplayer/files/wrapper.sh @@ -11,4 +11,4 @@ then rm -f ~/.divxPlayer/DivXPlayer.dbf fi -exec ${PROGRAM}.bin ${*} +exec ${PROGRAM}.bin "${@}" diff --git a/net-p2p/javadc/files/wrapper.sh b/net-p2p/javadc/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net-p2p/javadc/files/wrapper.sh +++ b/net-p2p/javadc/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" diff --git a/net-p2p/linux-agsatellite/files/wrapper.sh b/net-p2p/linux-agsatellite/files/wrapper.sh index e53603d..ce5b7d7 100644 --- a/net-p2p/linux-agsatellite/files/wrapper.sh +++ b/net-p2p/linux-agsatellite/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || cd ${HOME}/.agsatellite && echo Running Audio Galaxy Satellite under ${HOME}/.agsatellite && echo Create both account.txt and shares.txt files under ${HOME}/.agsatellite && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${HOME}/.agsatellite, make sure you have the proper permissions to create itnd try again } diff --git a/net-p2p/linux-edonkey-core/files/wrapper.sh b/net-p2p/linux-edonkey-core/files/wrapper.sh index 238d37b..a1cbdc0 100644 --- a/net-p2p/linux-edonkey-core/files/wrapper.sh +++ b/net-p2p/linux-edonkey-core/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || { cd ${DIRNAME} && echo Running under ${DIRNAME} && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again } diff --git a/net-p2p/phex/files/wrapper.sh b/net-p2p/phex/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net-p2p/phex/files/wrapper.sh +++ b/net-p2p/phex/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" diff --git a/net/edonkey-core/files/wrapper.sh b/net/edonkey-core/files/wrapper.sh index 238d37b..a1cbdc0 100644 --- a/net/edonkey-core/files/wrapper.sh +++ b/net/edonkey-core/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || { cd ${DIRNAME} && echo Running under ${DIRNAME} && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again } diff --git a/net/edonkey-gui-java/files/wrapper.sh b/net/edonkey-gui-java/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net/edonkey-gui-java/files/wrapper.sh +++ b/net/edonkey-gui-java/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" diff --git a/net/javadc/files/wrapper.sh b/net/javadc/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net/javadc/files/wrapper.sh +++ b/net/javadc/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" diff --git a/net/jift/files/wrapper.sh b/net/jift/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net/jift/files/wrapper.sh +++ b/net/jift/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" diff --git a/net/linux-agsatellite/files/wrapper.sh b/net/linux-agsatellite/files/wrapper.sh index e53603d..ce5b7d7 100644 --- a/net/linux-agsatellite/files/wrapper.sh +++ b/net/linux-agsatellite/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || cd ${HOME}/.agsatellite && echo Running Audio Galaxy Satellite under ${HOME}/.agsatellite && echo Create both account.txt and shares.txt files under ${HOME}/.agsatellite && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${HOME}/.agsatellite, make sure you have the proper permissions to create itnd try again } diff --git a/net/linux-edonkey-core/files/wrapper.sh b/net/linux-edonkey-core/files/wrapper.sh index 238d37b..a1cbdc0 100644 --- a/net/linux-edonkey-core/files/wrapper.sh +++ b/net/linux-edonkey-core/files/wrapper.sh @@ -18,6 +18,6 @@ echo " ${*} " | grep " \-createdironly " || { cd ${DIRNAME} && echo Running under ${DIRNAME} && - exec ./${PROGRAM##*/} ${*} || + exec ./${PROGRAM##*/} "${@}" || echo PROBLEM. Cannot create directory ${DIRNAME}, make sure you have the proper permissions to create it and try again } diff --git a/net/phex/files/wrapper.sh b/net/phex/files/wrapper.sh index aab757c..0f4e2ba 100644 --- a/net/phex/files/wrapper.sh +++ b/net/phex/files/wrapper.sh @@ -5,4 +5,4 @@ JAVAVM="%%JAVAVM%%" JAR_DIR="%%JAR_DIR%%" JAR_FILE="%%JAR_FILE%%" -${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} $* +${JAVAVM} -jar ${PREFIX}/${JAR_DIR}/${JAR_FILE} "${@}" |