escaped some variables in the gencode-remote output
This commit is contained in:
parent
074938c697
commit
3d5706d3cc
1 changed files with 4 additions and 4 deletions
|
@ -74,8 +74,8 @@ pkg_info | grep "^${name}.*${flavor}" > /dev/null 2>&1
|
||||||
|
|
||||||
# We didn't find the package in the list of 'installed packages', so it failed
|
# We didn't find the package in the list of 'installed packages', so it failed
|
||||||
# This is necessary because pkg_add doesn't return properly
|
# This is necessary because pkg_add doesn't return properly
|
||||||
if [ $? -ne 0 ]; then
|
if [ \$? -ne 0 ]; then
|
||||||
if [ -z "${status}" ]; then
|
if [ -z "\${status}" ]; then
|
||||||
status="Failed to add package, uncaught exception."
|
status="Failed to add package, uncaught exception."
|
||||||
fi
|
fi
|
||||||
echo "Error: \$status"
|
echo "Error: \$status"
|
||||||
|
@ -92,8 +92,8 @@ pkg_info | grep "^${name}.*${flavor}" > /dev/null 2>&1
|
||||||
|
|
||||||
# We found the package in the list of 'installed packages'
|
# We found the package in the list of 'installed packages'
|
||||||
# This would indicate that pkg_delete failed, send the output of pkg_delete
|
# This would indicate that pkg_delete failed, send the output of pkg_delete
|
||||||
if [ $? -eq 0 ]; then
|
if [ \$? -eq 0 ]; then
|
||||||
if [ -z "${status}" ]; then
|
if [ -z "\${status}" ]; then
|
||||||
status="Failed to remove package, uncaught exception."
|
status="Failed to remove package, uncaught exception."
|
||||||
fi
|
fi
|
||||||
echo "Error: \$status"
|
echo "Error: \$status"
|
||||||
|
|
Loading…
Reference in a new issue