diff --git a/.za-bgn-bin-or-src-function-body b/.za-bgn-bin-or-src-function-body index 0d49192..afa8fe5 100644 --- a/.za-bgn-bin-or-src-function-body +++ b/.za-bgn-bin-or-src-function-body @@ -4,7 +4,7 @@ # FUNCTION: .za-bgn-bin-or-src-function-body # Returns the body of the function wrapping a binary -local name="$2" bin="$3" dir="$4" +local name="$2" bin="$3" dir="${4#%}" integer run_type="$1" set_gem_home="$5" \ set_node_path="$6" set_cwd="$7" \ use_all_null="$8" use_err_null="$9" use_out_null="$10" diff --git a/.za-bgn-mod-function-body b/.za-bgn-mod-function-body index 9a20833..a0e6956 100644 --- a/.za-bgn-mod-function-body +++ b/.za-bgn-mod-function-body @@ -3,7 +3,7 @@ # # Returns the body of the function wrapping a function -local name="$1" target_func="$2" dir="$3" +local name="$1" target_func="$2" dir="${3#%}" integer set_gem_home="$4" set_node_path="$5" set_cwd="$6" \ use_all_null="$7" use_err_null="$8" use_out_null="$9"