+debhelper (0.95) unstable; urgency=low
+
+ * dh_movefiles: move even very strangly named files. (#23775) Unfortunatly,
+ I had to use a temporary file. Oh well..
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 22 Jun 1998 17:16:17 -0700
+
debhelper (0.94) unstable; urgency=low
* dh_md5sums: fixed so it handles spaces and other odd characters in
cp -a dh_lib dh_getopt.pl debian/tmp/usr/lib/debhelper
cp -a autoscripts debian/tmp/usr/lib/debhelper
- ./dh_installdocs TODO README PROGRAMMING from-debstd
+ ./dh_installdocs doc/TODO doc/README doc/PROGRAMMING doc/from-debstd
./dh_installexamples examples/*
./dh_installmenu
./dh_installmanpages
# debian/files has a different purpose, so ignore it.
if [ "$files" -a "$files" != "debian/files" ]; then
- if [ "$TMP" = "debian/tmp" ]; then
- error "I was asked to move some files from debian/tmp to debian/tmp."
- fi
+# if [ "$TMP" = "debian/tmp" ]; then
+# error "I was asked to move some files from debian/tmp to debian/tmp."
+# fi
if [ ! -d "$TMP" ]; then
doit "install -d $TMP"
#
# (The echo is in here to expand wildcards. Note that 'ls'
# won't work properly.)
- tomove=""
+ # The filelist is used, so even very weird filenames can be
+ # moved.
+ doit "rm -f movelist"
+ for i in `(cd debian/tmp ; echo \`cat $files\`)`; do
+ complex_doit "(cd debian/tmp ; find $i ! -type d -and ! -type l -print) >> movelist"
+ done
for i in `(cd debian/tmp ; echo \`cat $files\`)`; do
-tomove="`(cd debian/tmp ;\
-find $i ! -type d -and ! -type l -print)`\
-$tomove\
-`(cd debian/tmp ;\
-find $i ! -type d -and -type l -print)`"
+ complex_doit "(cd debian/tmp ; find $i ! -type d -and -type l -print) >> movelist"
done
-
- # Use a filelist, so very weird filenames can be moved.
- complex_doit "echo '$tomove' > movelist"
complex_doit "(cd debian/tmp;tar --create --remove-files --files-from=../../movelist --file -) | (cd $TMP;tar xpf -)"
doit "rm -f movelist"
fi