Commit e5c3b07f authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Added BUILD_UNTIL mechanism to config

parent 6247eec5
......@@ -33,6 +33,7 @@ Those are the steps done by the helpers:
* `REPOKEY`: An additional GPG key to import for the helper. Mostly only used in conjunction with `EXTERNAL`.
* `BACKPORT(S)`: Must be set to `true` if the package is a backport.
* `QUILT`: If `skip`, avoids patches to be automatically applied. Only set this variables if you know what you are doing.
* `BUILD_UNTIL`: build this helper if the Trisquel REVISION number (e.g. Trisquel 10.0) is <= this number. To be used when we know that the helper will not be needed at a certain future release.
## Recommendations
......@@ -49,6 +49,11 @@ MIRROR=
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
export RPL="$PWD/DATA/rpl"
$RPL "$@"
......@@ -19,6 +19,7 @@
. ./config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment