From 2e0b0d9474f6f498abbbda5c549064c0dae6fbcb Mon Sep 17 00:00:00 2001 From: John Garland Date: Thu, 16 Feb 2012 14:25:57 +1100 Subject: Make web build script sh compatible --- deluge/ui/web/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/web/build b/deluge/ui/web/build index 0c196770e..ad8944285 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` -- cgit