]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Add target name to the uploaded files.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Dec 2008 20:47:03 +0000 (21:47 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 11 Dec 2008 20:47:03 +0000 (21:47 +0100)
tools/make-include

index f5c40a47fbe808eca4c4659954f840556225befb..b44a315a84ad8f0bdcdc373f26d909516b54eca9 100644 (file)
@@ -615,7 +615,7 @@ putsource() {
 puttarget() {
        check_user
        URL_TARGET=$(grep URL_TARGET lfs/Config | awk '{ print $3 }')
-       DIR="${BASEDIR}/${HOSTNAME}/$(date '+%Y%m%d-%0k')/"
+       DIR="${BASEDIR}/${HOSTNAME}/$(date '+%Y%m%d-%0k')-${TARGET}/"
 
        # If there is no iso, we do nothing.
        ls ${BASEDIR}/${IMAGENAME}.* &>/dev/null || return 0