+debhelper (1.2.7) unstable; urgency=low
+
+ * dh_movefiles: Fixed another bug.
+
+ -- Joey Hess <joeyh@master.debian.org> Mon, 16 Nov 1998 12:53:05 -0800
+
debhelper (1.2.6) unstable; urgency=low
* dh_movefiles: fixed non-integer comparison (#29476)
# packages and doesn't affect much of anything else.
doit("rm","-f","movelist");
foreach (@filelist) {
- $ret=1 if (! -e $_ && ! -l $_);
- s:^debian/tmp/*::;
- complex_doit("(cd debian/tmp ; find $_ ! -type d -and ! -type l -print || true) >> movelist");
+ $file=$_;
+ $ret=1 if (! -e $file && ! -l $file);
+ $file=~s:^debian/tmp/*::;
+ complex_doit("(cd debian/tmp ; find $file ! -type d -and ! -type l -print || true) >> movelist");
}
foreach (@filelist) {
- $ret=1 if (! -e $_ && ! -l $_);
- s:^debian/tmp/*::;
- complex_doit("(cd debian/tmp ; find $_ ! -type d -and -type l -print || true) >> movelist");
+ $file=$_;
+ $ret=1 if (! -e $file && ! -l $file);
+ $file=~s:^debian/tmp/*::;
+ complex_doit("(cd debian/tmp ; find $file ! -type d -and -type l -print || true) >> movelist");
}
complex_doit("(cd debian/tmp;tar --create --remove-files --files-from=../../movelist --file -) | (cd $TMP;tar xpf -)");
doit("rm","-f","movelist");