summaryrefslogtreecommitdiff
path: root/vsvs-parse
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:10:49 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:10:49 +0300
commit6e1ad1537a19d6732038315c028ff75d6516458f (patch)
tree3617ced834a0291029874c427babbb32a49280ba /vsvs-parse
parent2282ef61b60c1ce90ce7ac056781bfba0d7bdfec (diff)
downloadvsvs-6e1ad1537a19d6732038315c028ff75d6516458f.tar
vsvs-6e1ad1537a19d6732038315c028ff75d6516458f.tar.xz
vsvs-6e1ad1537a19d6732038315c028ff75d6516458f.zip
.
Diffstat (limited to 'vsvs-parse')
-rw-r--r--vsvs-parse4
1 files changed, 2 insertions, 2 deletions
diff --git a/vsvs-parse b/vsvs-parse
index 2992136..27e51a4 100644
--- a/vsvs-parse
+++ b/vsvs-parse
@@ -9,9 +9,9 @@ do
if test -z "${line%% *}"
then value="${value}"$'\n'"$(after " " "$line")"
else
- test -z "$key" && eval $1
+ test -n "$key" && eval $1
key="${line%% *}"
value="$(after " " "$line")"
fi
done
-test -z "$key" && eval $1
+test -n "$key" && eval $1