aboutsummaryrefslogtreecommitdiff
path: root/archivers/atool/files/patch-configure
blob: c065424bc1c90bea5baf64ac7a03fe4d9a470338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2012-02-21 18:14:06 UTC
+++ configure
@@ -2261,7 +2261,7 @@ fi
 
 
 eval `$PERL -V:startperl`
-if test "${startperl:0:1}" = "#" ; then
+if test "$(echo ${startperl} | awk '{ string=substr($0, 1, 1); print string; }')" = "#" ; then
   startperl="\\$startperl"
 fi
 PERL_SHEBANG=$startperl