More quote changes

This commit is contained in:
Nico Schottelius 2006-11-15 00:01:19 +01:00
parent 9c2b38bd17
commit 7e27ca0f3d
6 changed files with 4 additions and 4 deletions

View file

@ -192,7 +192,7 @@ while [ "$i" -lt "$no_sources" ]; do
#
# Get current source
#
eval name=\$source_${i}
eval name=\"\$source_${i}\"
i=$(($i+1))
export name
@ -269,11 +269,11 @@ while [ "$i" -lt "$no_sources" ]; do
if [ -x "$c_pre_exec" ]; then
echo "Executing ${c_pre_exec} ..."
"$c_pre_exec"
ret=$?
ret="$?"
echo "Finished ${c_pre_exec}."
if [ $ret -ne 0 ]; then
echo "$c_pre_exec failed, aborting backup."
if [ "$ret" -ne 0 ]; then
echo "$c_pre_exec failed. Skipping"
exit 1
fi
fi