r27417 - /trunk/libxml-libxml-perl/debian/repack.sh
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat Nov 29 06:34:27 UTC 2008
Author: dmn
Date: Sat Nov 29 06:34:24 2008
New Revision: 27417
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27417
Log:
repack.sh: be conservative when mangling MANIFEST
instead of renaming and piping to the rigt name, pipe to
.no-debian name and rename back if successful
Modified:
trunk/libxml-libxml-perl/debian/repack.sh
Modified: trunk/libxml-libxml-perl/debian/repack.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-libxml-perl/debian/repack.sh?rev=27417&op=diff
==============================================================================
--- trunk/libxml-libxml-perl/debian/repack.sh (original)
+++ trunk/libxml-libxml-perl/debian/repack.sh Sat Nov 29 06:34:24 2008
@@ -31,9 +31,8 @@
## Here we remove the upstream debian directory and delete all of the
## occurences about debian in the MANIFEST file.
rm -vr $UP_BASE/debian
-cp $UP_BASE/MANIFEST $UP_BASE/MANIFEST.old
-sed '/^debian/d' $UP_BASE/MANIFEST.old > $UP_BASE/MANIFEST
-rm $UP_BASE/MANIFEST.old
+sed '/^debian/d' $UP_BASE/MANIFEST> $UP_BASE/MANIFEST.no-debian
+mv $UP_BASE/MANIFEST.no-debian $UP_BASE/MANIFEST
## End
mv "$UP_BASE" "$DIR/$REPACK_DIR"
More information about the Pkg-perl-cvs-commits
mailing list