inst_script should call inst_simple (#750603)
inst_script checks for a shebang, if it doesn't exist it exits. If it does it should not be calling inst_binary, it should call inst_simple like it used to.master
parent
03b5494ca1
commit
03cec38834
|
@ -450,7 +450,7 @@ inst_script() {
|
|||
[[ $debug ]] && _line=$(echo -n "$_line" | tr -c -d '[:print:][:space:]')
|
||||
_shebang_regex='(#! *)(/[^ ]+).*'
|
||||
[[ $_line =~ $_shebang_regex ]] || return 1
|
||||
inst "${BASH_REMATCH[2]}" && inst_binary "$_bin" "$@"
|
||||
inst "${BASH_REMATCH[2]}" && inst_simple "$_bin" "$@"
|
||||
}
|
||||
|
||||
# same as above, but specialized for symlinks
|
||||
|
|
Loading…
Reference in New Issue