diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-26 17:15:15 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-26 18:39:27 +0300 |
commit | bdc820db3567ba1f4e604158d6ac9d5e43cb3c22 (patch) | |
tree | 07bf2aa8c9ae4923b89c6e0f0fd4561ec076a485 /tests/package-archive/testscript | |
parent | 8e9677667ef6cbee2874592a723c85fc9530c51c (diff) |
Convert bash functions that return arrays to comply with Bash Style Guide
Diffstat (limited to 'tests/package-archive/testscript')
-rw-r--r-- | tests/package-archive/testscript | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/package-archive/testscript b/tests/package-archive/testscript index b2eb7e3..f845401 100644 --- a/tests/package-archive/testscript +++ b/tests/package-archive/testscript @@ -22,7 +22,11 @@ clone_arcs = \ : success : - $* $src_base/libhello-0.1.0.tar.gz >:'libhello 0.1.0 hello' + $* $src_base/libhello-0.1.0.tar.gz >>EOO + libhello + 0.1.0 + hello + EOO } : pkg-find-archives @@ -43,7 +47,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello' '*' $~ >>:/~"%EOO%" + $* 'libhello' '*' $~ >>/~"%EOO%" %\( $~/libhello-0.1.0.tar.gz $~/libhello-0.1.0+1.tar.gz @@ -59,7 +63,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello' '0.1.0' $~ >:/"$~/libhello-0.1.0.tar.gz" + $* 'libhello' '0.1.0' $~ >/"$~/libhello-0.1.0.tar.gz" } : package-revision @@ -67,7 +71,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello' '0.1.0+1' $~ >:/"$~/libhello-0.1.0+1.tar.gz" + $* 'libhello' '0.1.0+1' $~ >/"$~/libhello-0.1.0+1.tar.gz" } : package-revisions1 @@ -75,7 +79,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello' '0.1.0*' $~ >>:/~"%EOO%" + $* 'libhello' '0.1.0*' $~ >>/~"%EOO%" %\( $~/libhello-0.1.0.tar.gz $~/libhello-0.1.0+1.tar.gz @@ -91,7 +95,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello' '0.1.0+2*' $~ >>:/~"%EOO%" + $* 'libhello' '0.1.0+2*' $~ >>/~"%EOO%" %\( $~/libhello-0.1.0.tar.gz $~/libhello-0.1.0+1.tar.gz @@ -117,7 +121,7 @@ clone_arcs = \ { $clone_arcs; - $* 'libhello-0.1.0.*' $~ >>:/"EOO" + $* 'libhello-0.1.0.*' $~ >>/"EOO" $~/libhello-0.1.0.tar.gz libhello 0.1.0 |