r46411 - /scripts/repack.sh
diocles-guest at users.alioth.debian.org
diocles-guest at users.alioth.debian.org
Mon Oct 26 23:04:20 UTC 2009
Author: diocles-guest
Date: Mon Oct 26 23:02:50 2009
New Revision: 46411
URL: http://svn.debian.org/wsvn/?sc=1&rev=46411
Log:
Make repack.local actually run in the unpacked directory, and remove the TODO item.
Modified:
scripts/repack.sh
Modified: scripts/repack.sh
URL: http://svn.debian.org/wsvn/scripts/repack.sh?rev=46411&op=diff
==============================================================================
--- scripts/repack.sh (original)
+++ scripts/repack.sh Mon Oct 26 23:02:50 2009
@@ -12,8 +12,6 @@
# switch over libsyntax-highlight-engine-kate-perl.
# TODO: have each mv and rm check that something actually changed, and
# if not, die
-# TODO: make the local script ran inside the repacking dir, don't just
-# make it seem that way...people may want to run their own commands.
set -e
set -u
@@ -125,7 +123,10 @@
MANIFEST=0
## Remove stuff
set -f
-. debian/repack.local
+MYORIGPWD=$(pwd)
+cd "$UP_BASE"
+. "$MYORIGPWD/debian/repack.local"
+cd $MYORIGPWD
set +f
## End
More information about the Pkg-perl-cvs-commits
mailing list