summaryrefslogtreecommitdiff
path: root/lbu.in
diff options
context:
space:
mode:
Diffstat (limited to 'lbu.in')
-rw-r--r--lbu.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/lbu.in b/lbu.in
index 81eef2e..1cd767e 100644
--- a/lbu.in
+++ b/lbu.in
@@ -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 "$@"