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