diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-08-16 02:18:14 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-08-16 02:18:14 +0000 |
commit | 87879dbfdd2155bc9a8c80296ce9f7fa8353eeec (patch) | |
tree | d15057a61367c1ee47626236f1e901cdcf2f0c9f /audio | |
parent | Add devel/p5-DB_File-Lock, a wrapper for the DB_File module, adding (diff) |
Replace sh shell parameter $* with safer "${@}"
Notes
Notes:
svn path=/head/; revision=64563
Diffstat (limited to 'audio')
-rw-r--r-- | audio/agbrowser/files/wrapper.sh | 2 | ||||
-rw-r--r-- | audio/agsatellite/files/wrapper.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/agbrowser/files/wrapper.sh b/audio/agbrowser/files/wrapper.sh index d18f9a6e2d66..7eb49f864001 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 e53603d86a76..ce5b7d7ae0ba 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 } |