summaryrefslogtreecommitdiff
path: root/development/mono/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/mono/doinst.sh')
-rw-r--r--development/mono/doinst.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh
index 46717d884a..6dc7f79d97 100644
--- a/development/mono/doinst.sh
+++ b/development/mono/doinst.sh
@@ -1,11 +1,11 @@
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
@@ -19,3 +19,4 @@ config etc/mono/2.0/web.config.new
config etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new
config etc/mono/config.new
config etc/mono/browscap.ini.new
+