Replace sh shell parameter $* with safer "${@}"
This commit is contained in:
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
|
@ -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 "${@}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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} "${@}" )
|
||||
|
|
|
@ -11,4 +11,4 @@ then
|
|||
rm -f ~/.divxPlayer/DivXPlayer.dbf
|
||||
fi
|
||||
|
||||
exec ${PROGRAM}.bin ${*}
|
||||
exec ${PROGRAM}.bin "${@}"
|
||||
|
|
|
@ -11,4 +11,4 @@ then
|
|||
rm -f ~/.divxPlayer/DivXPlayer.dbf
|
||||
fi
|
||||
|
||||
exec ${PROGRAM}.bin ${*}
|
||||
exec ${PROGRAM}.bin "${@}"
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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} "${@}"
|
||||
|
|
Loading…
Reference in a new issue