make it possible to overide archive builds when building on Linux to produce a Linux jpackage

This commit is contained in:
idk
2022-10-09 16:07:02 -04:00
parent cd8be4196e
commit 7f0d5eb0b2
2 changed files with 9 additions and 7 deletions

View File

@@ -16,12 +16,14 @@ if [ -f config_overide.sh ]; then
. "$SCRIPT_DIR/config_override.sh"
fi
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) machine=Linux;;
Darwin*) machine=Mac;;
*) machine="UNKNOWN:${unameOut}"
esac
if [ -z $machine ]; then
unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) machine=Linux;;
Darwin*) machine=Mac;;
*) machine="UNKNOWN:${unameOut}"
esac
fi
if [ "$machine" = "Mac" ]; then
rm -rf I2P

View File

@@ -8,7 +8,7 @@ cd "$SCRIPT_DIR" || exit 1
if [ -f "$SCRIPT_DIR/config_override.sh" ]; then
. "$SCRIPT_DIR/config_override.sh"
fi
export machine=unix
./clean.sh
wsl make distclean
./build.sh