[pkg-wine-party] [wine] 05/06: Send script messages to STDERR.
Jens Reyer
jreyer-guest at moszumanska.debian.org
Fri Feb 12 01:45:17 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 44e526057c743c3eebdf7aee37c0b759cdc7be6a
Author: Jens Reyer <jre.winesim at gmail.com>
Date: Fri Feb 12 02:07:16 2016 +0100
Send script messages to STDERR.
Thanks Joerg Schiermeier.
---
debian/scripts/wine | 8 ++++----
debian/scripts/wineserver | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/debian/scripts/wine b/debian/scripts/wine
index aa76a38..aa95127 100755
--- a/debian/scripts/wine
+++ b/debian/scripts/wine
@@ -15,12 +15,12 @@ elif test -x $wine64; then
fi
if [ "$(dpkg --print-architecture)" = "amd64" -a "$(dpkg --print-foreign-architectures | grep -cx "i386")" -ne 1 ] ||
[ "$WINEARCH" = "win32" ]; then
- echo "it looks like multiarch needs to be enabled. as root, please"
- echo "execute \"dpkg --add-architecture i386 && apt-get update &&"
- echo "apt-get install $(echo $script | sed s/wine/wine32/)\""
+ echo "it looks like multiarch needs to be enabled. as root, please" >&2
+ echo "execute \"dpkg --add-architecture i386 && apt-get update &&" >&2
+ echo "apt-get install $(echo $script | sed s/wine/wine32/)\"" >&2
fi
else
- echo "error: unable to find wine executable. this shouldn't happen."
+ echo "error: unable to find wine executable. this shouldn't happen." >&2
exit 1
fi
diff --git a/debian/scripts/wineserver b/debian/scripts/wineserver
index c5865f7..d3db7db 100755
--- a/debian/scripts/wineserver
+++ b/debian/scripts/wineserver
@@ -11,7 +11,7 @@ if test -x "$wineserver64"; then
elif test -x "$wineserver32"; then
wineserver=$wineserver32
else
- echo "error: unable to find wineserver executable. this shouldn't happen."
+ echo "error: unable to find wineserver executable. this shouldn't happen." >&2
exit 1
fi
@@ -19,8 +19,8 @@ dist=$(cat /etc/debian_version)
arch=$(dpkg --print-architecture)
version=$($wineserver --version 2>&1 | cut -d- -f2)
-echo "Executing $script ($(basename $wineserver)) $version on Debian $dist ($arch)."
-echo "If something goes wrong, please rerun with \"WINEDEBUG=err+all $script\""
-echo "for more detailed debugging output."
+echo "Executing $script ($(basename $wineserver)) $version on Debian $dist ($arch)." >&2
+echo "If something goes wrong, please rerun with \"WINEDEBUG=err+all $script\"" >&2
+echo "for more detailed debugging output." >&2
exec $wineserver -p0 "$@"
--
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