oops - screwed up last change
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 19 Mar 2007 13:40:27 +0000 (13:40 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Mon, 19 Mar 2007 13:40:27 +0000 (13:40 +0000)
scripts/nightly-build.sh

index dea023e..07fb28f 100755 (executable)
@@ -154,7 +154,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,%d,${DATE},g")
 
     if [ -n "$EXITIFOLD" -a -d "$BASE" ] ; then
       echo "$COMMAND: -e : exits on existing base directory $BASE"