r40740 - /scripts/repack.sh
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Sat Jul 25 18:52:29 UTC 2009
Author: ryan52-guest
Date: Sat Jul 25 18:52:22 2009
New Revision: 40740
URL: http://svn.debian.org/wsvn/?sc=1&rev=40740
Log:
fix the --destdir TODO
Modified:
scripts/repack.sh
Modified: scripts/repack.sh
URL: http://svn.debian.org/wsvn/scripts/repack.sh?rev=40740&op=diff
==============================================================================
--- scripts/repack.sh (original)
+++ scripts/repack.sh Sat Jul 25 18:52:22 2009
@@ -3,9 +3,6 @@
# see the repack.stub for how to use
# TODO: provide example watch files and repack.locals
-
-# TODO: passing --destdir to uscan doesn't behave correctly. it should
-# take the dirname of the tarball that's passed instead of ../.
set -e
set -u
@@ -113,7 +110,7 @@
## End
REPACK_DIR="$PKG-${VER}${SUFFIX}.orig" # DevRef § 6.7.8.2
-DFSG_TAR="../${PKG}_${VER}${SUFFIX}.orig.tar.gz"
+DFSG_TAR="$(dirname $FILE)/${PKG}_${VER}${SUFFIX}.orig.tar.gz"
real_mv "$UP_BASE" "$DIR/$REPACK_DIR"
More information about the Pkg-perl-cvs-commits
mailing list