diff options
Diffstat (limited to 'misc/biosdisk/doinst.sh')
-rw-r--r-- | misc/biosdisk/doinst.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/biosdisk/doinst.sh b/misc/biosdisk/doinst.sh index c19353793169f..0b3c315f57d38 100644 --- a/misc/biosdisk/doinst.sh +++ b/misc/biosdisk/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 @@ -12,3 +12,4 @@ config() { } config etc/biosdisk.conf.new + |