latest revisions require pam so made REVISION overrideable to get a working one
This commit is contained in:
parent
780ad8ad07
commit
5208b8fbe0
1 changed files with 7 additions and 4 deletions
|
@ -28,6 +28,7 @@ CWD=$(pwd)
|
|||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=snapshot
|
||||
REVISION=${REVISION:-}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-cyco}
|
||||
|
@ -50,12 +51,14 @@ rm -rf $PKG
|
|||
mkdir -p $TMP $PKG/opt $OUTPUT
|
||||
|
||||
cd $PKG/opt
|
||||
if [ "x$REVISION" == "x" ]; then
|
||||
#get latest revision number
|
||||
[ -e ./LATEST ] && rm ./LATEST
|
||||
wget -c http://build.chromium.org/buildbot/snapshots/$REL/LATEST
|
||||
REVISION=$(cat ./LATEST)
|
||||
rm ./LATEST]
|
||||
fi
|
||||
VERSION=${VERSION}_$REVISION
|
||||
rm ./LATEST
|
||||
|
||||
#get chromium
|
||||
[ -e chrome-linux.zip ] && rm chrome-linux.zip
|
||||
|
|
Loading…
Reference in a new issue