summaryrefslogtreecommitdiff
path: root/frontend/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2013-10-21 20:12:00 -0500
committerRichard Nelson <unixabg@gmail.com>2013-10-21 20:12:00 -0500
commit5e2758b4c0b389fbff5d693bccaaff9f2b3bc642 (patch)
tree49658b360142b7932a44c89813576d4b2e607361 /frontend/cgi
parentc7462c4043850a432fd75ed39286e4f806102a6d (diff)
downloadvyos-live-build-5e2758b4c0b389fbff5d693bccaaff9f2b3bc642.tar.gz
vyos-live-build-5e2758b4c0b389fbff5d693bccaaff9f2b3bc642.zip
Updating files to copy for finished build on l-b-cgi frontend and the 4.x branch.
Diffstat (limited to 'frontend/cgi')
-rwxr-xr-xfrontend/cgi/live-build-cgi.cron14
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