]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed the puttarget function.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Jul 2008 10:57:17 +0000 (10:57 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 25 Jul 2008 10:57:17 +0000 (10:57 +0000)
tools/make-include

index cf375363e4ad1a5a221da5cb9b3c7bee56ca29bf..3ec3b36382e43afda594fd6122a9dc7ba17386df 100644 (file)
@@ -745,7 +745,7 @@ putsource() {
 puttarget() {
        check_user
        URL_TARGET=$(grep URL_TARGET lfs/Config | awk '{ print $3 }')
-       DIR="${BASEDIR}/${HOSTNAME}/$(date '+%Y%m%d-%k')/"
+       DIR="${BASEDIR}/${HOSTNAME}/$(date '+%Y%m%d-%0k')/"
 
        # If there is no iso, we do nothing.
        [ -e "${BASEDIR}/${SNAME}-${VERSION}.${MACHINE}.iso" ] || return 0