4295ecbb59
atool is a script for managing file archives of various types (tar, tar+gzip, zip, etc.). It provides the following commands: * aunpack: extract an archive, avoiding tar bombs * apack: create archives or compressed files * als: list the contents of an archive * acat: extract to the standard output * adiff: generate a diff between two archives * arepack: repack archives to a different format Optional dependencies: lbzip2 or pbzip2, lzip, plzip, lzop, lzma, zip, unzip, unrar, lha, unace, arj, arc, nomarch, p7zip, unalz.
14 lines
409 B
Text
14 lines
409 B
Text
$NetBSD: patch-configure,v 1.1 2017/11/03 20:07:12 bsiegert Exp $
|
|
|
|
Fix bad substitution in configure.
|
|
--- 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
|