Commit 3fd7d4ea authored by Michael Tokarev's avatar Michael Tokarev
Browse files

debian/extract-config-opts: use tab for configure option / condition separator

parent 889d9442
......@@ -55,7 +55,7 @@ Build-Depends: debhelper (>= 9),
libncursesw5-dev,
:debian:# --enable-libnfs
:debian: libnfs-dev (>> 1.9.3),
# --enable-numa i386|amd64|ia64|mips|mipsel|powerpc|powerpcspe|x32|ppc64|ppc64el|arm64|sparc|hppa
# --enable-numa i386|amd64|ia64|mips|mipsel|powerpc|powerpcspe|x32|ppc64|ppc64el|arm64|sparc|hppa
libnuma-dev [i386 amd64 ia64 mips mipsel mips64 mips64el powerpc powerpcspe x32 ppc64 ppc64el arm64 sparc hppa],
# --enable-smartcard
libcacard-dev,
......
......@@ -5,7 +5,7 @@
# Usage: ./debian/extract-config-opts $OS-$ARCH debian/control
sed -n 's/^# \?--/--/p' $2 | \
while read f p x; do
while IFS=' ' read f p x; do
[ -n "$p" ] || p="*"
eval "case \$1 in ($p) echo \$f;; esac"
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment