[pkg-wine-party] [wine] 93/114: Fix winegcc script to call wineg++/cpp based on its basename.
This is an automated email from the git hooks/post-receive script.
jreyer-guest pushed a commit to branch stretch
in repository wine.
commit 950899435d50eab75ea02906896f8a1c68fe7081
Author: Jens Reyer <jre.winesim@gmail.com>
Date: Thu Jun 16 17:49:28 2016 +0200
Fix winegcc script to call wineg++/cpp based on its basename.
Closes in stable: #824715
Thanks: Javier Serrano Polo
# Conflicts:
# debian/changelog
---
debian/changelog | 2 ++
debian/scripts/winegcc | 4 +++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index f1b7561..e0415ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ wine (1.8.2-2) UNRELEASED; urgency=medium
- Move some dependencies to libwineVERSION.
- Add widl to the -tools packages.
Thanks to Andrey Gursky (see: #824671).
+ - Fix winegcc script to call wineg++/cpp based on its basename.
+ Thanks to Javier Serrano Polo (closes: #824715).
-- Jens Reyer <jre.winesim@gmail.com> Mon, 06 Jun 2016 03:35:43 +0200
diff --git a/debian/scripts/winegcc b/debian/scripts/winegcc
index a993ad1..fa21bb0 100644
--- a/debian/scripts/winegcc
+++ b/debian/scripts/winegcc
@@ -1,9 +1,11 @@
#!/bin/sh -e
+name=$(basename $0 | cut -d- -f1)
+
# wineg++ fails to find winebuild in Wine's bindir
# See https://bugs.winehq.org/show_bug.cgi?id=40245
if test -z "$WINEBUILD"; then
export WINEBUILD="/BINDIR/winebuild"
fi
-exec /BINDIR/winegcc $@
+exec /BINDIR/$name $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git
Reply to: