The following commit has been merged in the master branch:
commit eaa28ebd958001ed54a96844c90f4bf900386de3
Author: Anders F Björklund <[email protected]>
Date:   Wed Oct 5 08:12:07 2011 +0200

    build: Add missing square brackets on character class in sed expression
    
    Although this is not currently an issue as none of the perl scripts have
    spaces after the hashbang, it's still an incorrect expression.
    
    Signed-off-by: Guillem Jover <[email protected]>

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 36492e4..1911377 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -109,7 +109,7 @@ nobase_dist_perllib_DATA = \
 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)\":"
 \

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to