summaryrefslogtreecommitdiff
path: root/bin/build-deb-package
diff options
context:
space:
mode:
authorX2Go Admin Account <x2go-admin@japsand.x2go.org>2013-11-29 13:59:21 +0100
committerX2Go Admin Account <x2go-admin@japsand.x2go.org>2013-11-29 13:59:21 +0100
commit9fc935b9e8a9a0a3d667eb66b7ff609ecbfaf6ba (patch)
treedab4e3ce741a3809e4febccf2af67da3d67361d3 /bin/build-deb-package
parentf7f4258c9b9809af1c806e607af6c337bed7b6cc (diff)
downloadbuildscripts-9fc935b9e8a9a0a3d667eb66b7ff609ecbfaf6ba.tar.gz
buildscripts-9fc935b9e8a9a0a3d667eb66b7ff609ecbfaf6ba.tar.bz2
buildscripts-9fc935b9e8a9a0a3d667eb66b7ff609ecbfaf6ba.zip
always set , even for release builds
Diffstat (limited to 'bin/build-deb-package')
-rwxr-xr-xbin/build-deb-package2
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