mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-18 08:02:08 +00:00
And respect AR variabke Closes: https://bugs.gentoo.org/782394 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
13 lines
531 B
Diff
13 lines
531 B
Diff
# Work around Gentoo's crippled dash
|
|
# Also add "$@" to accept options
|
|
--- pingus-0.7.6/Makefile
|
|
+++ pingus-0.7.6/Makefile
|
|
@@ -39,7 +39,7 @@
|
|
install -d "$(DESTDIR)$(BINDIR)"
|
|
|
|
install -D build/pingus "$(DESTDIR)$(BINDIR)/pingus.bin"
|
|
- echo -e "#!/bin/sh\nexec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus"
|
|
+ printf '%s\n%s' "#!/bin/sh" "exec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\" \"\$$@\"" > "$(DESTDIR)$(BINDIR)/pingus"
|
|
chmod 755 "$(DESTDIR)$(BINDIR)/pingus"
|
|
|
|
install-data:
|