diff options
Diffstat (limited to 'vsvs-extract')
-rwxr-xr-x[-rw-r--r--] | vsvs-extract | 7 |
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" |