Module: deluge
Branch: master
Commit: e7d06ee132a724c2c24c54b55e51e5c949d36ee6

Author: John Garland <[email protected]>
Date:   Thu Feb 16 14:25:57 2012 +1100

Make web build script sh compatible

---

 deluge/ui/web/build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deluge/ui/web/build b/deluge/ui/web/build
index 0c19677..ad89442 100755
--- a/deluge/ui/web/build
+++ b/deluge/ui/web/build
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 BASE_DIR="${PWD}/`dirname ${0}`"
 BASE_DIR=`readlink -f "$BASE_DIR"`
@@ -32,7 +32,7 @@ check_file()
 
     FILE=$1
     LAST_BUILD=`grep $FILE $BUILD_DATA`
-    if [ $? == 1 ]; then return 1; fi; 
+    if [ $? = 1 ]; then return 1; fi;
 
     CURRENT=`grep $FILE $BUILD_DATA.tmp`
 

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to