Update x86 script file to only copy the ISO files if we built the ISO file.

This commit is contained in:
Jorge Manuel B. S. Vicetto (jmbsvicetto) 2013-04-18 08:01:16 +00:00
parent 24d8ece030
commit 7b2552f0c8

View file

@ -52,7 +52,7 @@ post_build() {
if [ -f stage3-i486-*${DATESTAMP}*.bz2 -o -f stage3-i686-*${DATESTAMP}*.bz2 ]; then
mkdir -p ${BUILD_DESTDIR_BASE}/default/${DATESTAMP}
cp stage3-i[46]86-*${DATESTAMP}*.bz2* ${BUILD_DESTDIR_BASE}/default/${DATESTAMP}
if [ -f *${DATESTAMP}*.iso* ]; then
if [ -f *${DATESTAMP}*.iso ]; then
cp *${DATESTAMP}*.iso* ${BUILD_DESTDIR_BASE}/default/${DATESTAMP}
fi
fi