1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-23 15:25:13 +00:00
QB64-PE/internal/c/mingw32/opt/bin/python-config-u.sh
2021-01-14 22:29:19 +11:00

11 lines
337 B
Bash
Executable file

#!/usr/bin/env sh
THISDIR="$(dirname $0)"
test "$THISDIR" = "." && THISDIR=${PWD}
RESULT=$("${THISDIR}"/python-config.sh "$@")
exec_prefix_win=$("${THISDIR}"/python-config.sh --exec-prefix)
exec_prefix_unix=/c/mingw810/i686-810-win32-sjlj-rt_v6-rev0/mingw32/opt
echo $(echo $RESULT | sed "s#${exec_prefix_win}#${exec_prefix_unix}#g")