summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-10-29 11:13:33 -0400
committerWilliam Cohen <wcohen@redhat.com>2008-10-29 11:13:33 -0400
commitdeb889ce99469d6fff2c74d9819c3faf956ed2fe (patch)
treecb5a7072ddede376c2447b9ec32f0e8c12594815 /doc/SystemTap_Beginners_Guide
parent4487fde80fa26c47733d9e5fb343752b400b82e6 (diff)
downloadsystemtap-steved-deb889ce99469d6fff2c74d9819c3faf956ed2fe.tar.gz
systemtap-steved-deb889ce99469d6fff2c74d9819c3faf956ed2fe.tar.xz
systemtap-steved-deb889ce99469d6fff2c74d9819c3faf956ed2fe.zip
Simplify syncanbuild.sh script and put examples in the correct location.
Diffstat (limited to 'doc/SystemTap_Beginners_Guide')
-rw-r--r--doc/SystemTap_Beginners_Guide/syncandbuild.sh13
1 files changed, 3 insertions, 10 deletions
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."