[pkg-wine-party] [wine] 01/01: Simplify WINEDEBUG test in wine script.
Jens Reyer
jreyer-guest at moszumanska.debian.org
Sat Apr 23 13:44:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
jreyer-guest pushed a commit to branch master
in repository wine.
commit cf1d8ebd65503dde7d29094e1cc807ec795adc64
Author: Jens Reyer <jre.winesim at gmail.com>
Date: Sat Apr 23 02:36:25 2016 +0200
Simplify WINEDEBUG test in wine script.
---
debian/scripts/wine | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/debian/scripts/wine b/debian/scripts/wine
index f745e2f..4e7b88f 100755
--- a/debian/scripts/wine
+++ b/debian/scripts/wine
@@ -24,17 +24,13 @@ elif test -x $wine64; then
if test -z "$WINELOADER"; then
export WINELOADER=$wine64
fi
- if test -z "$WINEDEBUG"; then
- wine32_hint >&2
- else
- case "$WINEDEBUG" in
- -all*|*,-all*|*err-all*)
- ;;
- *)
- wine32_hint >&2
- ;;
- esac
- fi
+ case "x$WINEDEBUG" in
+ x-all*|x*,-all*|x*err-all*)
+ ;;
+ *)
+ wine32_hint >&2
+ ;;
+ esac
else
echo "error: unable to find wine executable. this shouldn't happen." >&2
exit 1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
More information about the pkg-wine-party
mailing list