aboutsummaryrefslogtreecommitdiff
path: root/audio/abcde/doinst.sh
diff options
context:
space:
mode:
authorJim Capozzoli <saltmiser@gmail.com>2010-05-12 17:36:47 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:36:47 +0200
commit9200a8fd01a6b398f604f0fc58b8341372e631c3 (patch)
tree15bafde91dd950fe6a938d5c762227177a232b97 /audio/abcde/doinst.sh
parent1dcdc943a6b4eee2facaf70ae9500159f0dcdc00 (diff)
audio/abcde: Updated for version 2.3.99.6
Diffstat (limited to 'audio/abcde/doinst.sh')
-rw-r--r--audio/abcde/doinst.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/abcde/doinst.sh b/audio/abcde/doinst.sh
index 351330037a43..a5ca84801088 100644
--- a/audio/abcde/doinst.sh
+++ b/audio/abcde/doinst.sh
@@ -1,10 +1,10 @@
config() {
NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi