diff options
-rwxr-xr-x | bin/build-deb-package | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-deb-package b/bin/build-deb-package index 3b691fb..b612fb6 100755 --- a/bin/build-deb-package +++ b/bin/build-deb-package @@ -63,13 +63,13 @@ set_vars() { COMPONENT="${ARGV2_COMPONENT:-${COMPONENT:-$COMPONENT_NIGHTLY}}" CODENAMES="${ARGV2_CODENAME:-${CODENAMES}}" [ -n "$ARGV2_CODENAME" ] && FORCE_BUILD=0 || FORCE_BUILD=-1 + DATE="${DATE:-$(date +%Y%m%d)}" if [ "x$COMPONENT" = "x$COMPONENT_MAIN" ]; then CHECKOUT="${3:-build-main}" elif echo "$COMPONENT_RELEASES" | grep "$COMPONENT" >/dev/null; then CHECKOUT="${3:-build-$COMPONENT}" elif [ "x$COMPONENT" = "x$COMPONENT_NIGHTLY" ]; then CHECKOUT="${3:-master}" - DATE="${DATE:-$(date +%Y%m%d)}" else echo "error: no such package component area for this Git project. Aborting..." exit -1 |