summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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