fix(persistence): invoke the installed script path literally
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
_launchd_script_path() {
|
||||
local script_path="${SCRIPT_PATH:-}"
|
||||
if [ -z "$script_path" ]; then
|
||||
script_path="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"
|
||||
fi
|
||||
printf '%s' "$script_path" | sed 's/&/\&/g; s/</\</g; s/>/\>/g'
|
||||
}
|
||||
Reference in New Issue
Block a user