mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-23 22:22:07 +03:00
Fix chez017 for Windows
This commit is contained in:
parent
e30f7ef3ed
commit
09ea6af22f
@ -1,7 +1,7 @@
|
||||
File Exists
|
||||
False
|
||||
True
|
||||
Just "__PWD__/testdir"
|
||||
Just "__PWD__testdir"
|
||||
1/1: Building dir (dir.idr)
|
||||
Main> Main> Bye for now!
|
||||
hello
|
||||
|
@ -1,3 +1,8 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ $OS == "windows" ]; then
|
||||
MY_PWD="$(cygpath -m $(pwd) | sed -e 's#/#\\\\\\\\#g')\\\\\\\\"
|
||||
else
|
||||
MY_PWD=$(pwd)/
|
||||
fi
|
||||
|
||||
sed -e "s|__PWD__|$(pwd)|g" expected.in > expected
|
||||
sed -e "s|__PWD__|${MY_PWD}|g" expected.in > expected
|
||||
|
Loading…
Reference in New Issue
Block a user