Idris2/tests/node/node017/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