Replace sh shell parameter $* with safer "${@}"
This commit is contained in:
@@ -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} "${@}"
|
||||
|
||||
Reference in New Issue
Block a user