diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/oh-strip.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/oh-strip.sh b/src/oh-strip.sh index 7b47d6c..4217099 100644 --- a/src/oh-strip.sh +++ b/src/oh-strip.sh @@ -23,11 +23,11 @@ CR=' ' +KEEP_DEBUG='false' main() { dir='dest' - keep_debug='false' oh_init @@ -37,7 +37,7 @@ main() dir="${OPTARG}" ;; k) - keep_debug='true' + KEEP_DEBUG='true' ;; ?) oh_error "$(oh_get_msg 'bad_opt')" @@ -80,7 +80,7 @@ strip_so() oh_info "$(oh_get_msg 'strip_so')" "${file}" - if ${keep_debug}; then + if ${KEEP_DEBUG}; then debug="$(keep_debug "${file}")" fi @@ -99,7 +99,7 @@ strip_exe() oh_info "$(oh_get_msg 'strip_exe')" "${file}" - if ${keep_debug}; then + if ${KEEP_DEBUG}; then debug="$(keep_debug "${file}")" fi |