public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/
Date: Sat, 29 Apr 2017 00:40:28 +0000 (UTC)	[thread overview]
Message-ID: <1493426399.9c5855a264086df35ad224c20f44c024316e0f3e.zmedico@gentoo> (raw)

commit:     9c5855a264086df35ad224c20f44c024316e0f3e
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 00:39:59 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 00:39:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5855a2

sys-apps/yarn: make scripts executable for bug 614094

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/yarn/{yarn-0.21.3.ebuild => yarn-0.21.3-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-apps/yarn/yarn-0.21.3.ebuild b/sys-apps/yarn/yarn-0.21.3-r1.ebuild
similarity index 73%
rename from sys-apps/yarn/yarn-0.21.3.ebuild
rename to sys-apps/yarn/yarn-0.21.3-r1.ebuild
index 94506663bde..631ba960a31 100644
--- a/sys-apps/yarn/yarn-0.21.3.ebuild
+++ b/sys-apps/yarn/yarn-0.21.3-r1.ebuild
@@ -19,9 +19,13 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}/dist"
 
 src_install() {
-	local install_dir="/usr/$(get_libdir)/node_modules/yarn"
+	local install_dir="/usr/$(get_libdir)/node_modules/yarn" path
 	insinto "${install_dir}"
 	doins -r .
 	dosym "../$(get_libdir)/node_modules/yarn/bin/yarn.js" "/usr/bin/yarn"
 	fperms a+x "${install_dir}/bin/yarn.js"
+	while read -r -d '' path; do
+		[[ $(head -n1 "${path}") == \#\!* ]] || continue
+		chmod +x "${path}" || die #614094
+	done < <(find "${ED}" -type f -print0)
 }


             reply	other threads:[~2017-04-29  0:40 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-29  0:40 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-31  3:08 [gentoo-commits] repo/gentoo:master commit in: sys-apps/yarn/ Zac Medico
2024-05-11 15:16 Arthur Zamarin
2024-03-31  0:02 Zac Medico
2024-02-28  2:57 Zac Medico
2024-02-28  2:57 Zac Medico
2024-02-28  2:57 Zac Medico
2022-05-13 22:04 Zac Medico
2022-05-13 22:01 Zac Medico
2021-12-05 19:08 Zac Medico
2021-10-17  4:31 Zac Medico
2021-08-13  6:51 Agostino Sarubbo
2020-10-06 14:00 Sam James
2020-10-06  4:55 Sam James
2020-10-04 19:26 Zac Medico
2020-08-30 21:40 Zac Medico
2020-06-26 15:17 William Hubbs
2020-06-26 15:17 William Hubbs
2020-06-26 15:17 William Hubbs
2020-03-11  5:03 Zac Medico
2020-03-01  2:41 Zac Medico
2020-02-13 22:00 Zac Medico
2019-12-30  0:21 Zac Medico
2019-12-30  0:19 Zac Medico
2019-11-22 18:16 Zac Medico
2019-10-18  4:39 Zac Medico
2019-10-06 17:55 Zac Medico
2019-08-08  1:53 Zac Medico
2019-05-14  8:20 Manuel Rüger
2019-03-17 21:12 Zac Medico
2019-03-17 19:34 Zac Medico
2019-03-17 19:29 Zac Medico
2019-01-19  1:45 Zac Medico
2019-01-18 19:25 Zac Medico
2018-11-14 18:49 William Hubbs
2018-10-16 14:50 William Hubbs
2018-08-14 20:29 William Hubbs
2018-06-18 18:25 Zac Medico
2018-06-18 18:20 Zac Medico
2018-05-12 17:48 Michał Górny
2018-03-28 18:00 William Hubbs
2018-01-04 12:21 Manuel Rüger
2017-11-02 21:54 Manuel Rüger
2017-11-02 21:54 Manuel Rüger
2017-10-09 16:55 Manuel Rüger
2017-09-15 11:04 Manuel Rüger
2017-09-10 10:37 Manuel Rüger
2017-08-12 13:28 Michael Palimaka
2017-07-19 17:15 Manuel Rüger
2017-07-17 17:11 Göktürk Yüksek
2017-03-07 21:12 Göktürk Yüksek
2017-03-07 21:12 Göktürk Yüksek
2017-01-15  4:28 Göktürk Yüksek
2016-12-11  2:31 Göktürk Yüksek
2016-12-09  9:04 Göktürk Yüksek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493426399.9c5855a264086df35ad224c20f44c024316e0f3e.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox