Idris2/tests/node/node017/gen_expected.sh

9 lines
167 B
Bash
Raw Normal View History

2020-06-12 23:35:08 +03:00
#!/usr/bin/env sh
if [ $OS = "windows" ]; then
2021-01-22 16:55:25 +03:00
MY_PWD="$(cygpath -m $(pwd))\\\\"
2020-06-12 23:35:08 +03:00
else
MY_PWD=$(pwd)/
fi
sed -e "s|__PWD__|${MY_PWD}|g" expected.in > expected