Skip to content

Commit

Permalink
fix PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Feb 10, 2024
1 parent 96f5e31 commit 2196c04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
if [[ -z ${CONFIG_ENV+z} ]]
then
CONFIG_ENV=true
export CONFIG_ENV=true
export LC_ALL=C
export ROOT=${ROOT:-$(pwd)}
export SDKROOT=${SDKROOT:-$ROOT}
Expand Down
10 changes: 5 additions & 5 deletions python-nim-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

SDKROOT=${SDKROOT:-/opt/python-wasm-sdk}
CONFIG=$(realpath ${CONFIG:-config})
CONFIG=$(realpath ${CONFIG:-${SDKROOT}/config})
. $CONFIG

if [ -d ${NIMSDK} ]
Expand Down Expand Up @@ -59,7 +59,7 @@ var SDKROOT = getEnv("SDKROOT","${SDKROOT}")
--colors:on
--define:release
echo fmt" ==== Panda3D: generic config {ARCH=} from {SDKROOT=} ===="
echo fmt" ==== Panda3D: generic config {ARCH=} from {SDKROOT=} ===="
--cc:clang
--os:linux
--threads:off
Expand All @@ -86,7 +86,7 @@ echo fmt" ==== Panda3D: generic config {ARCH=} from {SDKROOT=} ===="
--define:debug
when defined(wasi):
echo " ===== Panda3D: wasi build ======"
echo " ===== Panda3D: wasi build ======"
# overwrite
ARCH="wasisdk"
Expand Down Expand Up @@ -124,7 +124,7 @@ when defined(wasi):
--opt:none
else:
echo fmt" ===== Panda3D: native {ARCH} build ======"
echo fmt" ===== Panda3D: native {ARCH} build ======"
switch("passL", "-lfreetype -lharfbuzz")
# -lfftw3 -lassimp")
Expand Down Expand Up @@ -155,7 +155,7 @@ then
. $WASISDK/wasisdk_env.sh
export XDG_CONFIG_HOME=${NIMSDK}
export NIMBLE_DIR=${NIMSDK}/pkg
export PATH=${NIMSDK}/${NIM_VERSION}/bin:$PATH
export PATH=${NIMSDK}/${NIM_VERSION}/bin:\$PATH
echo "
* using nimsdk from \$(realpath \${NIMSDK}/\${NIM_VERSION}/bin)
Expand Down

0 comments on commit 2196c04

Please sign in to comment.