diff options
Diffstat (limited to 'frontend')
-rwxr-xr-x | frontend/cgi/live-build-cgi.cron | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/frontend/cgi/live-build-cgi.cron b/frontend/cgi/live-build-cgi.cron index ea57a5da2..5809723b9 100755 --- a/frontend/cgi/live-build-cgi.cron +++ b/frontend/cgi/live-build-cgi.cron @@ -154,18 +154,10 @@ EOF cat "${_TEMPDIR}"/"${_BUILD}"/"${_BUILD}".build >> "${_DESTDIR}"/"${_BUILD}"/mail - # Moving binary image - #if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1 - if Find_files ${_BUILD_PATH}/binary*.* + # Moving live-image-* files + if Find_files ${_BUILD_PATH}/live-image-* then - mv "${_BUILD_PATH}"/binary*.* "${_DESTDIR}"/"${_BUILD}" - fi - - # Moving source image - #if ls "${_TEMPDIR}"/"${_BUILD}"/source.* > /dev/null 2>&1 - if Find_files ${_BUILD_PATH}/source.* - then - mv "${_BUILD_PATH}"/source.* "${_DESTDIR}"/"${_BUILD}" + mv "${_BUILD_PATH}"/live-image-* "${_DESTDIR}"/"${_BUILD}" fi # Moving build |