summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-09-18 00:22:15 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-09-18 00:22:19 +0200
commitda026182d17fc6739f8f13b585c2bc7f1a5e11b1 (patch)
tree302d9280a3788e920a2e83df93c243d341351a55 /games-action/supermariowar
parentgames-action/supermariowar: add app-arch/unzip to DEPEND. (diff)
downloadgentoo-da026182d17fc6739f8f13b585c2bc7f1a5e11b1.tar.gz
gentoo-da026182d17fc6739f8f13b585c2bc7f1a5e11b1.tar.bz2
gentoo-da026182d17fc6739f8f13b585c2bc7f1a5e11b1.zip
games-action/supermariowar: reformat variables.
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'games-action/supermariowar')
-rw-r--r--games-action/supermariowar/supermariowar-2.0_beta1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games-action/supermariowar/supermariowar-2.0_beta1.ebuild b/games-action/supermariowar/supermariowar-2.0_beta1.ebuild
index c350420df7e1..5c906dacbef1 100644
--- a/games-action/supermariowar/supermariowar-2.0_beta1.ebuild
+++ b/games-action/supermariowar/supermariowar-2.0_beta1.ebuild
@@ -60,9 +60,8 @@ src_configure() {
src_install() {
cmake-utils_src_install
- local bin base_bin
+ local bin
for bin in "${ED}/usr/bin"/*; do
- base_bin=$(basename "${bin}")
chmod 0755 "${bin}" || die
done
@@ -74,9 +73,10 @@ src_install() {
mv "${ED}/usr/bin"/* "${ED}/${smw_bindir}" || die
eend $?
+ local base_bin
for bin in "${ED}/${smw_bindir}"/*; do
base_bin=$(basename "${bin}")
- einfo "Creating launcher in /usr/bin for ${base_bin}"
+ einfo "Creating ${base_bin} launcher in /usr/bin"
cat << EOF > "${base_bin}" || die
#!/usr/bin/env bash
# Copyright 1999-2017 Gentoo Foundation