From: joey Date: Tue, 17 Aug 1999 04:52:52 +0000 (+0000) Subject: r91: Initial Import X-Git-Tag: debian_version_0_1~142 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=45c35fdc6dc8a330bae1806f5e8b826fcc9d7e3f;p=debhelper.git r91: Initial Import --- diff --git a/debian/changelog b/debian/changelog index e37b9d7..05337cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +debhelper (0.94) unstable; urgency=low + + * dh_md5sums: fixed so it handles spaces and other odd characters in + filenames correctly. (#23046, #23700, #22010) + * As a side effect, got rid of the nasty temporary file dh_md5sums used + before. + + -- Joey Hess Mon, 22 Jun 1998 16:14:42 -0700 + debhelper (0.93) unstable; urgency=low * Depend on file, since several dh_*'s use it. diff --git a/dh_movefiles b/dh_movefiles index 964d406..8a36562 100755 --- a/dh_movefiles +++ b/dh_movefiles @@ -33,13 +33,16 @@ for PACKAGE in $DH_DOPACKAGES; do # won't work properly.) tomove="" 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)`" +tomove="`(cd debian/tmp ;\ +find $i ! -type d -and ! -type l -print)`\ +$tomove\ +`(cd debian/tmp ;\ +find $i ! -type d -and -type l -print)`" done - - complex_doit "(cd debian/tmp;tar --create --remove-files --file - "$tomove") | (cd $TMP;tar xpf -)" + + # 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 done