Replace sh shell parameter $* with safer "${@}"

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-08-16 02:18:14 +00:00
parent 54b5ff2c6a
commit 87879dbfdd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64563
16 changed files with 16 additions and 16 deletions

View file

@ -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 "${@}"

View file

@ -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
}

View file

@ -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} "${@}" )

View file

@ -11,4 +11,4 @@ then
rm -f ~/.divxPlayer/DivXPlayer.dbf
fi
exec ${PROGRAM}.bin ${*}
exec ${PROGRAM}.bin "${@}"

View file

@ -11,4 +11,4 @@ then
rm -f ~/.divxPlayer/DivXPlayer.dbf
fi
exec ${PROGRAM}.bin ${*}
exec ${PROGRAM}.bin "${@}"

View file

@ -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} "${@}"

View file

@ -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
}

View file

@ -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
}

View file

@ -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} "${@}"

View file

@ -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
}

View file

@ -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} "${@}"

View file

@ -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} "${@}"

View file

@ -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} "${@}"

View file

@ -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
}

View file

@ -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
}

View file

@ -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} "${@}"