[Lunar-commits] r19652 - moonbase/trunk/zbeta/e17/e_modules-cvs
Chad Kittel
v3rt1g0 at lunar-linux.org
Tue Apr 11 17:46:40 UTC 2006
Author: v3rt1g0
Date: 2006-04-11 17:46:39 +0000 (Tue, 11 Apr 2006)
New Revision: 19652
Modified:
moonbase/trunk/zbeta/e17/e_modules-cvs/BUILD
Log:
Misc Tweak: e_modules-cvs (beta)
* patch from jas0n <jdmelbye at wisc.edu> to use pushd and popd because
it's possible that, in certain cases, you might not be left in a
directory that cd.. will take you back to the right spot.
Modified: moonbase/trunk/zbeta/e17/e_modules-cvs/BUILD
===================================================================
--- moonbase/trunk/zbeta/e17/e_modules-cvs/BUILD 2006-04-11 15:39:39 UTC (rev 19651)
+++ moonbase/trunk/zbeta/e17/e_modules-cvs/BUILD 2006-04-11 17:46:39 UTC (rev 19652)
@@ -8,21 +8,21 @@
export USER=nobody
for module in $AVAILABLE_MODULES; do
- cd $module &&
+ pushd $module &&
message "\n\nBuilding Module: ${module}\n" &&
# seperate them out so that prepare_install isn't called each time
default_cvs_config &&
make &&
- cd ..
+ popd
done
prepare_install &&
for module in $AVAILABLE_MODULES; do
- cd $module &&
+ pushd $module &&
message "\n\nInstalling Module: ${module}\n" &&
make install &&
- cd ..
+ popd
done
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list