summaryrefslogtreecommitdiff
path: root/development/netbeans/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/netbeans/doinst.sh')
-rw-r--r--development/netbeans/doinst.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/netbeans/doinst.sh b/development/netbeans/doinst.sh
index 47132aecc5..82f43414ca 100644
--- a/development/netbeans/doinst.sh
+++ b/development/netbeans/doinst.sh
@@ -1,10 +1,10 @@
config() {
NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ ! -r $OLD ]; then
- mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
- rm $NEW
+ OLD="$(dirname ${NEW})/$(basename ${NEW} .new)"
+ if [ ! -r ${OLD} ]; then
+ mv ${NEW} ${OLD}
+ elif [ "$(cat ${OLD} | md5sum)" = "$(cat ${NEW} | md5sum)" ]; then
+ rm ${NEW}
fi
}