[pkg-kde-commits] rev 2588 - scripts
Josh Metzler
jdmetz-guest at costa.debian.org
Wed Dec 7 20:21:40 UTC 2005
Author: jdmetz-guest
Date: 2005-12-07 20:21:39 +0000 (Wed, 07 Dec 2005)
New Revision: 2588
Modified:
scripts/create-buildprep
Log:
Clean the source tree before making the backup.
Modified: scripts/create-buildprep
===================================================================
--- scripts/create-buildprep 2005-12-07 15:31:07 UTC (rev 2587)
+++ scripts/create-buildprep 2005-12-07 20:21:39 UTC (rev 2588)
@@ -27,6 +27,10 @@
# strip everything after the first underscore to get the base name
BASENAME=${1%%_*}
+# clean the source tree before making the backup copy
+cd $DIRNAME && fakeroot debian/rules clean
+cd ..
+
# make a hardlinked backup copy
# autotools does the *right thing* with hardlinks
cp -lr $DIRNAME $DIRNAME.orig || { echo "Failed to create copy of source directory" && exit 1; }
More information about the pkg-kde-commits
mailing list