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

11 lines
339 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/x86_64-810-win32-sjlj-rt_v6-rev0/mingw64/opt
echo $(echo $RESULT | sed "s#${exec_prefix_win}#${exec_prefix_unix}#g")