From 2fb4b10852de60be4adb480d7abc1b0d9165ffa0 Mon Sep 17 00:00:00 2001
From: thierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Date: Tue, 20 Mar 2007 09:00:34 +0000
Subject: [PATCH] replaces %d with @, % is magic to crontab

---
 scripts/nightly-build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/nightly-build.sh b/scripts/nightly-build.sh
index a53696d..c998144 100755
--- a/scripts/nightly-build.sh
+++ b/scripts/nightly-build.sh
@@ -108,7 +108,7 @@ function usage () {
   echo "Usage: $COMMAND [option] make-targets"
   echo "This is revision $REVISION"
   echo "Supported options"
-  echo " -b BASE - may include %d, then replaced with current date"
+  echo " -b BASE - may include @, then replaced with current date"
   echo " -u : uses directory given as BASE as is, even if already exists"
   echo " -e : exits (does nothing) if BASE already exists"
   echo " -d DISTRO"
@@ -160,7 +160,7 @@ function main () {
 
     ### set BASE from DISTRO, if unspecified
     [ -z "$BASE" ] && BASE=${DISTRO}
-    BASE=$(echo ${BASE} | sed -e "s,%d,${DATE},g")
+    BASE=$(echo ${BASE} | sed -e "s,@,${DATE},g")
 
     if [ -n "$EXITIFOLD" -a -d "$BASE" ] ; then
       echo "$COMMAND: -e : exits on existing base directory $BASE"
-- 
2.47.0