# Escapes out shell metacharacters in a word of shell script.
sub escape_shell { my $word=shift;
- $word=~s/([\s><&!\[\]\{\}\(\)\$])/\\$1/g;
+ # This list is from )Unix in a Nutshell_. (except '#')
+ $word=~s/([-\s!"$()*+#;<>?@\[\]\\`|~])/\\$1/g;
return $word;
}
+debhelper (1.1.6) unstable; urgency=low
+
+ * dh_movefiles: don't die on symlinks (#25642). (Hope I got the fix right
+ this time..)
+
+ -- Joey Hess <joeyh@master.debian.org> Tue, 11 Aug 1998 20:11:13 -0700
+
debhelper (1.1.5) unstable; urgency=low
* dh_builddeb, dh_installchangelogs: converted to perl.
#DEBHELPER#
EOF
+Other notes:
+-----------
+
+Note that if you are generating a debian package that has arch-indep and
+arch-dependant portions, and you are using dh_movefiles to move the
+arch-indep files out of debian/tmp, you need to make sure that dh_movefiles
+does this even if only the arch-dependant package is being built (for ports
+to other architectures). I handle this in debian/rules.multi by calling
+dh_movefiles in the install target.
+
-- Joey Hess <joeyh@master.debian.org>
# Add here commands to install the package into debian/tmp.
#$(MAKE) prefix=`pwd`/debian/tmp/usr install
+ dh_movefiles
touch install-stamp
# Build architecture-independent files here.
# dh_testversion
dh_testdir -i
dh_testroot -i
- dh_movefiles -i
dh_installdocs -i
dh_installexamples -i
dh_installmenu -i
# dh_testversion
dh_testdir -a
dh_testroot -a
- dh_movefiles -a
dh_installdocs -a
dh_installexamples -a
dh_installmenu -a