diff options
Diffstat (limited to 'frontends')
-rwxr-xr-x | frontends/cgi/live-build-cgi.cron | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/frontends/cgi/live-build-cgi.cron b/frontends/cgi/live-build-cgi.cron index 7f661002a..1b9d460a2 100755 --- a/frontends/cgi/live-build-cgi.cron +++ b/frontends/cgi/live-build-cgi.cron @@ -70,6 +70,9 @@ then git clone ${_LB_GIT} "${_TEMPDIR}"/"${_BUILD}" >> /var/log/live _ERRORGIT="${?}" + # Moving build file to the tempdir and remove from submission area. + mv "${_TEMPDIR}"/"${_BUILD}".build "${_TEMPDIR}"/"${_BUILD}"/ + # Sanity check to default to something since we are going to build from git clone. if [ -z "${_LB_CONFIG}" ] then @@ -145,7 +148,7 @@ Here's a list of all build-options that were used to build your image: EOF - cat "${_TEMPDIR}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail + cat "${_TEMPDIR}"/"${_BUILD}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail # Moving binary image #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1 @@ -162,7 +165,7 @@ EOF fi # Moving build - mv "${_TEMPDIR}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build + mv "${_TEMPDIR}"/"${_BUILD}"/"${_BUILD}".build "${_DESTDIR}"/"${_BUILD}"/build # Moving log mv "${_BUILD_PATH}"/log "${_DESTDIR}"/"${_BUILD}" |