diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-12-06 23:31:01 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-12-06 23:31:01 +0300 |
commit | f95fff7f65116080a2bc8cb1676db6ad3f5ea653 (patch) | |
tree | 0100f3e5611446fd76f7a2a574dfdfdb7c945acc | |
parent | b04da9ebc3417c321afb59f1318ed22d262abb58 (diff) | |
download | vsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.tar vsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.tar.xz vsvs-f95fff7f65116080a2bc8cb1676db6ad3f5ea653.zip |
.
-rwxr-xr-x[-rw-r--r--] | vsvs-archive | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vsvs-extract | 7 | ||||
-rwxr-xr-x[-rw-r--r--] | vsvs-locate | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vsvs-name | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | vsvs-parse | 0 |
5 files changed, 1 insertions, 6 deletions
diff --git a/vsvs-archive b/vsvs-archive index e328157..e328157 100644..100755 --- a/vsvs-archive +++ b/vsvs-archive 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" diff --git a/vsvs-locate b/vsvs-locate index 1b7f080..1b7f080 100644..100755 --- a/vsvs-locate +++ b/vsvs-locate diff --git a/vsvs-name b/vsvs-name index 709035c..709035c 100644..100755 --- a/vsvs-name +++ b/vsvs-name diff --git a/vsvs-parse b/vsvs-parse index 27e51a4..27e51a4 100644..100755 --- a/vsvs-parse +++ b/vsvs-parse |