summaryrefslogtreecommitdiffstats
path: root/doc/SystemTap_Beginners_Guide/syncandbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/syncandbuild.sh')
-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."