diff options
Diffstat (limited to 'tools/catalyst-auto-x86.conf')
-rw-r--r-- | tools/catalyst-auto-x86.conf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/catalyst-auto-x86.conf b/tools/catalyst-auto-x86.conf index 34b8ad50..e7c971dc 100644 --- a/tools/catalyst-auto-x86.conf +++ b/tools/catalyst-auto-x86.conf @@ -38,24 +38,24 @@ give_latest_from_dates() { } pre_build() { - pushd ${REPO_DIR} + pushd ${REPO_DIR} >/dev/null git pull - popd + popd >/dev/null # Symlink the latest stages3 to build from for d in ${BUILD_SRCDIR_BASE}/{default,hardened} ; do - pushd $d + pushd $d >/dev/null for f in $(ls stage3*${EXTENSIONS} | grep -v latest | give_latest_from_dates ) ; do of=${f/20[0-9][0-9].[0-9]/latest} # for 20XX.Y stuff of=${of/20[0-9][0-9][0-1][0-9][0-9][0-9]/latest} # for 20YYMMDD stuff ln -sf $f $of done - popd + popd >/dev/null done } post_build() { - pushd ${BUILD_SRCDIR_BASE}/default + pushd ${BUILD_SRCDIR_BASE}/default >/dev/null mkdir -p ${BUILD_DESTDIR_BASE}/${TYPE}/${ARCH}/default/${DATESTAMP} for file in $(ls stage{3,4}*${DATESTAMP}*${EXTENSIONS} ); do if [ -f $file ]; then @@ -65,9 +65,9 @@ post_build() { if [ -f *${DATESTAMP}*.iso ]; then cp *${DATESTAMP}*.iso* ${BUILD_DESTDIR_BASE}/${TYPE}/${ARCH}/default/${DATESTAMP} fi - popd + popd >/dev/null - pushd ${BUILD_SRCDIR_BASE}/hardened + pushd ${BUILD_SRCDIR_BASE}/hardened >/dev/null mkdir -p ${BUILD_DESTDIR_BASE}/${TYPE}/${ARCH}/hardened/${DATESTAMP} for file in $(ls stage{3,4}*${DATESTAMP}*${EXTENSIONS} ); do if [ -f $file ]; then |