[ARVADOS] updated: 1.3.0-1463-g26c7b3c97

Git user git at public.curoverse.com
Tue Aug 13 16:42:02 UTC 2019


Summary of changes:
 build/run-library.sh | 6 ++++++
 1 file changed, 6 insertions(+)

       via  26c7b3c97876a05ec7427bc2e5270108dcf00b17 (commit)
      from  2774e45aba64557259fc35155c62988449a8dc72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 26c7b3c97876a05ec7427bc2e5270108dcf00b17
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date:   Tue Aug 13 12:41:27 2019 -0400

    15516: document the use of variables with the nameref argument set.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>

diff --git a/build/run-library.sh b/build/run-library.sh
index e0b7a0b97..cb5549df7 100755
--- a/build/run-library.sh
+++ b/build/run-library.sh
@@ -104,6 +104,9 @@ handle_ruby_gem() {
 }
 
 calculate_go_package_version() {
+  # $__returnvar has the nameref attribute set, which means it is a reference
+  # to another variable that is passed in as the first argument to this function.
+  # see https://www.gnu.org/software/bash/manual/html_node/Shell-Parameters.html
   local -n __returnvar="$1"; shift
   local src_path="$1"; shift
 
@@ -232,6 +235,9 @@ get_complete_package_name() {
     set +e
     trap 'set -e' RETURN
   fi
+  # $__returnvar has the nameref attribute set, which means it is a reference
+  # to another variable that is passed in as the first argument to this function.
+  # see https://www.gnu.org/software/bash/manual/html_node/Shell-Parameters.html
   local -n __returnvar="$1"; shift
   local pkgname="$1"; shift
   local version="$1"; shift

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list