1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-08-22 07:55:07 +00:00
qb64/internal/c/mingw32/opt/bin/python-config-u.sh
2021-01-14 22:29:19 +11:00

10 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")