mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Make web build script sh compatible
This commit is contained in:
parent
0e4101a9a3
commit
2e0b0d9474
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
BASE_DIR="${PWD}/`dirname ${0}`"
|
BASE_DIR="${PWD}/`dirname ${0}`"
|
||||||
BASE_DIR=`readlink -f "$BASE_DIR"`
|
BASE_DIR=`readlink -f "$BASE_DIR"`
|
||||||
|
@ -32,7 +32,7 @@ check_file()
|
||||||
|
|
||||||
FILE=$1
|
FILE=$1
|
||||||
LAST_BUILD=`grep $FILE $BUILD_DATA`
|
LAST_BUILD=`grep $FILE $BUILD_DATA`
|
||||||
if [ $? == 1 ]; then return 1; fi;
|
if [ $? = 1 ]; then return 1; fi;
|
||||||
|
|
||||||
CURRENT=`grep $FILE $BUILD_DATA.tmp`
|
CURRENT=`grep $FILE $BUILD_DATA.tmp`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue