diff options
Diffstat (limited to 'lbu.in')
-rw-r--r-- | lbu.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -723,8 +723,8 @@ cmd_migrate_include_exclude() { #----------------------------------------------------------- # Main -cmd=`echo "$PROGRAM" | cut -s -d_ -f2` -PROGRAM=`echo "$PROGRAM" | cut -d_ -f1` +cmd=$(echo "$PROGRAM" | cut -s -d_ -f2) +PROGRAM=$(echo "$PROGRAM" | cut -d_ -f1) if [ -z "$cmd" ] ; then cmd="$1" [ -z "$cmd" ] && usage @@ -773,7 +773,7 @@ while getopts "adehlM:np:qrv" opt ; do ;; esac done -shift `expr $OPTIND - 1` +shift $(expr $OPTIND - 1) trap exit_clean SIGINT SIGTERM cmd_$SUBCMD "$@" |