aboutsummaryrefslogtreecommitdiff
path: root/development/mono/doinst.sh
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 19:44:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:18 +0200
commit9c5cee6a07a862d5cf9848dbd9eb2303e0f70e07 (patch)
tree5b81ecd9bfba922aefd1eb8d7ba3a6c89512330d /development/mono/doinst.sh
parent20f2d0a33aff6d2564546c0892c59934873ab231 (diff)
development/mono: Updated for version 1.2.4
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 46717d884aa73..6dc7f79d9787a 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
+