summaryrefslogtreecommitdiffstats
path: root/VDEPENDS
diff options
context:
space:
mode:
authorIsmael Luceno2021-02-22 21:47:24 +0100
committerIsmael Luceno2021-02-22 21:51:30 +0100
commite405f85dec32cc7f89ac224a2fbad08e33d36fd3 (patch)
tree08af10ed4642d8853d31898a7bb2e2a7ae5abebe /VDEPENDS
parent4e2c2f1c1ee2ea340f309845aa79d746f55a70b3 (diff)
VDEPENDS: Fix parsing of tabs
Only space characters before flags were recognized, add tab characters.
Diffstat (limited to 'VDEPENDS')
-rw-r--r--VDEPENDS6
1 files changed, 3 insertions, 3 deletions
diff --git a/VDEPENDS b/VDEPENDS
index f1ba8dd0fa..7c504ea569 100644
--- a/VDEPENDS
+++ b/VDEPENDS
@@ -50,9 +50,9 @@ vdepends() {
# split configuration flags
rest=" $rest"
case "$rest" in
- (*\ flags:*)
- flags="${rest#* flags:}"
- rest="${rest% flags:*}"
+ (*[\ \ ]flags:*)
+ flags="${rest#*[ ]flags:}"
+ rest="${rest%[ ]flags:*}"
;;
esac
depends -sub "$features" "$dep" "$flags" || return