summaryrefslogtreecommitdiff
path: root/net-p2p/linux-agsatellite/files/wrapper.sh
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-16 02:18:14 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-08-16 02:18:14 +0000
commit87879dbfdd2155bc9a8c80296ce9f7fa8353eeec (patch)
treed15057a61367c1ee47626236f1e901cdcf2f0c9f /net-p2p/linux-agsatellite/files/wrapper.sh
parentAdd 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 'net-p2p/linux-agsatellite/files/wrapper.sh')
-rw-r--r--net-p2p/linux-agsatellite/files/wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-p2p/linux-agsatellite/files/wrapper.sh b/net-p2p/linux-agsatellite/files/wrapper.sh
index e53603d86a76..ce5b7d7ae0ba 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
}