From deb889ce99469d6fff2c74d9819c3faf956ed2fe Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 29 Oct 2008 11:13:33 -0400 Subject: Simplify syncanbuild.sh script and put examples in the correct location. --- doc/SystemTap_Beginners_Guide/syncandbuild.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'doc/SystemTap_Beginners_Guide') diff --git a/doc/SystemTap_Beginners_Guide/syncandbuild.sh b/doc/SystemTap_Beginners_Guide/syncandbuild.sh index 04205c3f..a8797104 100644 --- a/doc/SystemTap_Beginners_Guide/syncandbuild.sh +++ b/doc/SystemTap_Beginners_Guide/syncandbuild.sh @@ -5,17 +5,10 @@ read TARG echo -n "Thank you. Now specify any build parameters you'd like to use (skip this step for none). " read PARM -tar -cf examplesdir.tar ./../../testsuite/systemtap.examples/* -mv examplesdir.tar en-US/extras -cd en-US/extras -tar -xf examplesdir.tar -rm examplesdir.tar -cd ../../ +cp -a ../../testsuite/systemtap.examples en-US/extras/extras make $PARM $TARG echo "Cleaning sync'd files..." -cd en-US/extras -rm -rf testsuite -cd ../../ -echo "...done." \ No newline at end of file +rm -rf en-US/extras/extras +echo "...done." -- cgit