Skip to content

Commit

Permalink
Fix sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed May 20, 2024
1 parent 4c5c64b commit de84ca0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extra/build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
BUILD_OS="mac"
fi

HAXE_VER=$(cat build/.current)
HAXE_VER=$(cat $ROOT/build/.current)
VERSION="${BUILD_OS}_${HAXE_VER}"

HAXE_STD_PATH=$ROOT/build/$VERSION/std/ $ROOT/build/$VERSION/haxe --cwd $ROOT build.hxml --hxb build/hx.hxb
2 changes: 1 addition & 1 deletion extra/hx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
BUILD_OS="mac"
fi

HAXE_VER=$(cat build/.current)
HAXE_VER=$(cat $ROOT/build/.current)
VERSION="${BUILD_OS}_${HAXE_VER}"

CALL_SITE=$CALL_SITE HAXE_STD_PATH=$ROOT/build/$VERSION/std $ROOT/build/$VERSION/haxe --cwd $ROOT run-hx.hxml $@
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

ROOT=$(dirname $(readlink -f $0))
HAXE_VER=$(cat build/.current)
HAXE_VER=$(cat $ROOT/build/.current)

mkdir -p "$ROOT/releases"
mkdir -p "$ROOT/versions"
Expand Down

0 comments on commit de84ca0

Please sign in to comment.