bash is dangerous (script_dir was marked readonly in parent script!)

This commit is contained in:
Girish Ramakrishnan
2016-12-29 15:34:30 -08:00
parent 751fd8cc4b
commit 81a60b029d
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/bash
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
json="${script_dir}/../node_modules/.bin/json"
source_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
json="${source_dir}/../node_modules/.bin/json"
# IMPORTANT: Fix cloudron.js:doUpdate if you add/remove any arg. keep these sorted for readability
arg_api_server_origin=""