+debhelper (0.75) unstable; urgency=low
+
+ * Actually exit if there is an unknown option onthe command line (oooops!)
+ * Fix .so file conversion to actually work (#19933).
+
+ -- Joey Hess <joeyh@master.debian.org> Thu, 19 Mar 1998 11:54:58 -0800
+
debhelper (0.74) unstable; urgency=low
* dh_installmanpages: convert .so links to symlinks at last (#19829).
Getopt::Long::config("bundling");
# Parse options.
-GetOptions(
+$ret=GetOptions(
"v" => \$verbose,
"verbose" => \$verbose,
"init-script=s" => \$init_script,
);
+if (!$ret) {
+ $parse_error="exiting with unknown option.";
+}
+
# Check to see if -V was specified. If so, but no parameters were passed,
# the variable will be defined but empty.
if (defined($version_info)) {
# Now the .so conversion.
for file in `find $TMP/usr/man $TMP/usr/X11*/man -type f -size -256c 2>/dev/null`
do
- solink=expr "`head -1 $file`" : '\.so \(.*\)'
+ solink=`expr "\`head -1 $file\`" : '\.so \(.*\)'`
if [ "$solink" ]; then
doit "rm -f $file"
# The .so links include the subdir the page is in,