diff options
-rwxr-xr-x | build/wine-wrapper.sh | 13 | ||||
-rwxr-xr-x | p11-kit/test-messages.sh | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/build/wine-wrapper.sh b/build/wine-wrapper.sh new file mode 100755 index 0000000..a339956 --- /dev/null +++ b/build/wine-wrapper.sh @@ -0,0 +1,13 @@ +#/bin/sh + +: ${WINE=wine} +export WINE + +case "$1" in + *.sh) + exec $1 + ;; + *) + ${WINE} $1 | tr -d '\r' + ;; +esac diff --git a/p11-kit/test-messages.sh b/p11-kit/test-messages.sh index 16c8544..59dded4 100755 --- a/p11-kit/test-messages.sh +++ b/p11-kit/test-messages.sh @@ -96,7 +96,7 @@ CKR_MUTEX_NOT_LOCKED: The data cannot be locked CKR_FUNCTION_REJECTED: The request was rejected by the user EOF -"$abs_top_builddir"/print-messages > messages.out +${WINE} "$abs_top_builddir"/print-messages | tr -d '\r' > messages.out echo 1..1 |