diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-20 16:11:44 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-23 00:09:07 +0200 |
commit | 35077b43e8ccacc50b3d2e379f57f22722eef054 (patch) | |
tree | f44e65e88381cfe1ad44f521a1de27cbcb477ed0 | |
parent | 81c8888228fd017a9fd5d3ba6a8d1b647019eba5 (diff) | |
download | abuild-35077b43e8ccacc50b3d2e379f57f22722eef054.tar.gz abuild-35077b43e8ccacc50b3d2e379f57f22722eef054.tar.bz2 abuild-35077b43e8ccacc50b3d2e379f57f22722eef054.tar.xz abuild-35077b43e8ccacc50b3d2e379f57f22722eef054.zip |
replace deprecated `...` syntax with $(...) in shell scripts
-rw-r--r-- | abuild-keygen.in | 2 | ||||
-rw-r--r-- | abuild-sign.in | 2 | ||||
-rw-r--r-- | abump.in | 4 | ||||
-rw-r--r-- | apkgrel.in | 4 | ||||
-rwxr-xr-x | bootchartd | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/abuild-keygen.in b/abuild-keygen.in index c9dec9d..de37299 100644 --- a/abuild-keygen.in +++ b/abuild-keygen.in @@ -107,7 +107,7 @@ install_pubkey= non_interactive= quiet= -args=`getopt -o ainqh --long append,install,quiet,help -n "$program" -- "$@"` +args=$(getopt -o ainqh --long append,install,quiet,help -n "$program" -- "$@") if [ $? -ne 0 ]; then usage exit 2 diff --git a/abuild-sign.in b/abuild-sign.in index f333c35..b2d1bdb 100644 --- a/abuild-sign.in +++ b/abuild-sign.in @@ -63,7 +63,7 @@ privkey="$PACKAGER_PRIVKEY" pubkey= quiet= -args=`getopt -o ek:p:qh --long installed,private:,public:,quiet,help -n "$program" -- "$@"` +args=$(getopt -o ek:p:qh --long installed,private:,public:,quiet,help -n "$program" -- "$@") if [ $? -ne 0 ]; then usage exit 2 @@ -108,8 +108,8 @@ fixes= [ -n "$APORTSDIR" ] || error "can't locate \$APORTSDIR" git rev-parse 2>/dev/null || die "not in a git tree" -args=`getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help \ - -n "$program" -- "$@"` +args=$(getopt -o f:s:Rkqh --long fixes:,security:,recursive,keep,quiet,help \ + -n "$program" -- "$@") if [ $? -ne 0 ]; then usage exit 2 @@ -95,8 +95,8 @@ force= setto= only_clean_git= -args=`getopt -o zags:tfqh --long zero,add,clean-git,set:,test,force,quiet,help \ - -n "$program" -- "$@"` +args=$(getopt -o zags:tfqh --long zero,add,clean-git,set:,test,force,quiet,help \ + -n "$program" -- "$@") if [ $? -ne 0 ]; then usage exit 2 @@ -178,7 +178,7 @@ stop-initfs) cd "$LOGDIR" mkdir "$NEWROOT$LOGDIR" cp /sbin/bootchartd $NEWROOT/sbin - PID=`cat bootchart.pid` + PID=$(cat bootchart.pid) kill -USR2 $PID wait $PID mv * "$NEWROOT$LOGDIR" |