Added BUILD_UNTIL mechanism to config
This commit is contained in:
parent
6247eec544
commit
e5c3b07f66
3 changed files with 7 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ MIRROR=http://archive.ubuntu.com/ubuntu
|
|||
LOCALMIRROR=https://archive.trisquel.org/trisquel
|
||||
LOCAL_APT=`mktemp -d`
|
||||
|
||||
if [ -n "$BUILD_UNTIL" ] && (( $(echo "$BUILD_UNTIL $REVISION" | awk '{print ($1 > $2)}') )); then
|
||||
echo "Skipping build of helper with BUILD_UNTIL=$BUILD_UNTIL > REVISION=$REVISION"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
export RPL="$PWD/DATA/rpl"
|
||||
rpl(){
|
||||
$RPL "$@"
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#
|
||||
|
||||
VERSION=0
|
||||
BUILD_UNTIL=10.0
|
||||
|
||||
. ./config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue