summaryrefslogtreecommitdiff
path: root/vsvs-extract
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:31:01 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-06 23:31:01 +0300
commitf95fff7f65116080a2bc8cb1676db6ad3f5ea653 (patch)
tree0100f3e5611446fd76f7a2a574dfdfdb7c945acc /vsvs-extract
parentb04da9ebc3417c321afb59f1318ed22d262abb58 (diff)
downloadvsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.tar
vsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.tar.xz
vsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.zip
.
Diffstat (limited to 'vsvs-extract')
-rwxr-xr-x[-rw-r--r--]vsvs-extract7
1 files changed, 1 insertions, 6 deletions
diff --git a/vsvs-extract b/vsvs-extract
index 97c1982..f5c4817 100644..100755
--- a/vsvs-extract
+++ b/vsvs-extract
@@ -19,12 +19,7 @@ then
rm $lockfile
until test -z "$vsvspath"
do
- data="$(echo -n "$data" | vsvs-parse "
- if test \"\$key\" == \"${vsvspath%%/*}\"
- then
- echo \"\$value\"
- exit 0
- fi")"
+ data="$(echo -n "$data" | vsvs-parse "test \"\$key\" == \"${vsvspath%%/*}\" && echo \"\$value\" && exit 0")"
vsvspath=$(after / "$vsvspath")
done
echo -n "$data" | vsvs-parse "$1"