Idris2/tests/idris2/pkg010/gen_expected.sh

9 lines
172 B
Bash
Executable File

#!/usr/bin/env sh
if [ "$OS" = "windows" ]; then
MY_PWD="$(cygpath -m "$(pwd)")\\\\"
else
MY_PWD="$(pwd)/"
fi
sed -e "s|__PWD__|${MY_PWD}|g" expected.in >expected