diff --git a/msys2.fix.sh b/msys2.fix.sh index 4ad408b..eba8bbe 100755 --- a/msys2.fix.sh +++ b/msys2.fix.sh @@ -1,6 +1,7 @@ #! /usr/bin/env bash FILE="$(realpath "${BASH_SOURCE[0]}")" -cd "$(dirname "${FILE}")" +cd "$(dirname "${FILE}")" || + exit ROOT='root/msys2'