From 1669554df47cb7b2adc581dd439b1d9abcd28c7e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 21 Jul 2012 07:17:59 -0400 Subject: Separate command and library parameter namespaces. --- diff --git a/src/deb.sh b/src/deb.sh index 42f62d2..cc6f538 100755 --- a/src/deb.sh +++ b/src/deb.sh @@ -63,9 +63,9 @@ EOF error() { - msg="${1}" + _msg="${1}" shift - printf "Error: ${msg}\n" ${@} + printf "Error: ${_msg}\n" ${@} exit 2 } @@ -90,8 +90,8 @@ config_load() config_save() { - for name in ${CONFIG_NAMES}; do - printf "CONFIG_%s='%s'\n" "${name}" "$(eval echo \$\{CONFIG_${name}\})" + for _name in ${CONFIG_NAMES}; do + printf "CONFIG_%s='%s'\n" "${_name}" "$(eval echo \$\{CONFIG_${_name}\})" done > "${DEB_DIR}/config" } -- cgit v0.9.1