blob: 4276b14973c2fa5c8b60cfd9cbb369f6534cb9d6 [file] [log] [blame]
diff -aruN a/scripts/Makefile.am b/scripts/Makefile.am
--- a/scripts/Makefile.am 2017-11-14 15:56:01.195623027 -0800
+++ b/scripts/Makefile.am 2011-10-13 21:58:09.000000000 -0700
@@ -109,7 +109,7 @@
man3_MANS =
do_perl_subst = $(AM_V_GEN) \
- sed -e "s:^\#![:space:]*/usr/bin/perl:\#!$(PERL):" \
+ sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
-e "s:\$$dpkglibdir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$dpkglibdir=\"$(pkglibdir)\":" \
-e "s:\$$pkgdatadir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$pkgdatadir=\"$(pkgdatadir)\":" \
-e "s:\$$admindir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$admindir=\"$(admindir)\":" \
diff -aruN a/scripts/Makefile.in b/scripts/Makefile.in
--- a/scripts/Makefile.in 2017-11-14 15:56:08.451573406 -0800
+++ b/scripts/Makefile.in 2011-10-13 22:09:47.000000000 -0700
@@ -396,7 +396,7 @@
# Keep it even if empty to have man3dir correctly set
man3_MANS =
do_perl_subst = $(AM_V_GEN) \
- sed -e "s:^\#![:space:]*/usr/bin/perl:\#!$(PERL):" \
+ sed -e "s:^\#![[:space:]]*/usr/bin/perl:\#!$(PERL):" \
-e "s:\$$dpkglibdir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$dpkglibdir=\"$(pkglibdir)\":" \
-e "s:\$$pkgdatadir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$pkgdatadir=\"$(pkgdatadir)\":" \
-e "s:\$$admindir[[:space:]]*=[[:space:]]*['\"][^'\"]*['\"]:\$$admindir=\"$(admindir)\":" \