diff options
Diffstat (limited to '')
| -rw-r--r-- | project/setup/install.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/project/setup/install.sh b/project/setup/install.sh index d39e8f9..aa5bce0 100644 --- a/project/setup/install.sh +++ b/project/setup/install.sh @@ -45,6 +45,9 @@ fi #------------------------------------------------------------------------------ # settings +SYSTEM="@@SYSTEM@@" +SYSTEM2="@@SYSTEM2@@" + BASE_PATH="@@INSTALL-PATH@@" BIN_PATH="$BASE_PATH/bin" SHARE_PATH="$BASE_PATH/share/szs" @@ -55,6 +58,20 @@ SHARE_FILES="@@SHARE-FILES@@" INST_FLAGS="-p" #------------------------------------------------------------------------------ +# scan config + +if [[ -f install-config.txt ]] +then + res_install= + res_config= + res_share= + . <( ./wszst config --bash --install --config install-config.txt ) + echo "res_install=$res_install" + echo "res_config=$res_config" + echo "res_share=$res_share" +fi + +#------------------------------------------------------------------------------ # make? make=0 @@ -75,6 +92,8 @@ do install $INST_FLAGS "bin/$f" "$BIN_PATH/$f" done +[[ $SYSTEM = mac ]] && xattr -dr com.apple.quarantine "$BIN_PATH" || true + #------------------------------------------------------------------------------ echo "*** install share files to $SHARE_PATH" |
