mirror of
https://github.com/zdharma-continuum/zinit-annex-bin-gem-node.git
synced 2026-09-10 07:26:18 -04:00
*function-body: Fix the absolute-path plugins
https://github.com/zdharma/zinit/issues/359
This commit is contained in:
parent
2fa561e439
commit
6a3d52abe8
|
|
@ -4,7 +4,7 @@
|
||||||
# FUNCTION: .za-bgn-bin-or-src-function-body
|
# FUNCTION: .za-bgn-bin-or-src-function-body
|
||||||
# Returns the body of the function wrapping a binary
|
# 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" \
|
integer run_type="$1" set_gem_home="$5" \
|
||||||
set_node_path="$6" set_cwd="$7" \
|
set_node_path="$6" set_cwd="$7" \
|
||||||
use_all_null="$8" use_err_null="$9" use_out_null="$10"
|
use_all_null="$8" use_err_null="$9" use_out_null="$10"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
# Returns the body of the function wrapping a function
|
# 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" \
|
integer set_gem_home="$4" set_node_path="$5" set_cwd="$6" \
|
||||||
use_all_null="$7" use_err_null="$8" use_out_null="$9"
|
use_all_null="$7" use_err_null="$8" use_out_null="$9"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue