From: Michael Tremer Date: Thu, 11 Dec 2008 20:47:03 +0000 (+0100) Subject: Add target name to the uploaded files. X-Git-Tag: v3.0-alpha1~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd2b3d149d269f878782aebef27fdbd2fe91dc2a;p=ipfire-3.x.git Add target name to the uploaded files. --- diff --git a/tools/make-include b/tools/make-include index f5c40a47f..b44a315a8 100644 --- a/tools/make-include +++ b/tools/make-include @@ -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