summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-10-21 22:13:27 -0400
committerSam James <sam@gentoo.org>2024-02-28 15:26:42 +0000
commit9492a654263631c79e4e3062e42220b48d712a7e (patch)
treec854c2f9ec2c9f95f026c1030e278f5444cd78ad /dev-lang/rapydscript-ng
parentsci-libs/lapack: mark as LTO-unsafe (diff)
downloadgentoo-9492a654263631c79e4e3062e42220b48d712a7e.tar.gz
gentoo-9492a654263631c79e4e3062e42220b48d712a7e.tar.bz2
gentoo-9492a654263631c79e4e3062e42220b48d712a7e.zip
dev-lang/rapydscript-ng: minor simplification tweak to bsdtar pattern
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rapydscript-ng')
-rw-r--r--dev-lang/rapydscript-ng/rapydscript-ng-0.7.22.ebuild2
-rw-r--r--dev-lang/rapydscript-ng/rapydscript-ng-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/rapydscript-ng/rapydscript-ng-0.7.22.ebuild b/dev-lang/rapydscript-ng/rapydscript-ng-0.7.22.ebuild
index 173a518ba34d..2de48c00ee4a 100644
--- a/dev-lang/rapydscript-ng/rapydscript-ng-0.7.22.ebuild
+++ b/dev-lang/rapydscript-ng/rapydscript-ng-0.7.22.ebuild
@@ -39,7 +39,7 @@ maint_pkg_create() {
ver=${ver#v}
local tar="${T}/rapydscript-ng-node_modules-${ver}.tar.xz"
- bsdtar -s "#\(.*\)#${PN}-node_modules-${ver}/~#S" -caf "${tar}" package-lock.json node_modules/ || die
+ bsdtar -s "#^#${PN}-node_modules-${ver}/#S" -caf "${tar}" package-lock.json node_modules/ || die
einfo "Packaged tar now available:"
einfo "$(du -b "${tar}")"
}
diff --git a/dev-lang/rapydscript-ng/rapydscript-ng-9999.ebuild b/dev-lang/rapydscript-ng/rapydscript-ng-9999.ebuild
index 75e3b3b83abe..6b4846d150f6 100644
--- a/dev-lang/rapydscript-ng/rapydscript-ng-9999.ebuild
+++ b/dev-lang/rapydscript-ng/rapydscript-ng-9999.ebuild
@@ -39,7 +39,7 @@ maint_pkg_create() {
ver=${ver#v}
local tar="${T}/rapydscript-ng-node_modules-${ver}.tar.xz"
- bsdtar -s "#\(.*\)#${PN}-node_modules-${ver}/~#S" -caf "${tar}" package-lock.json node_modules/ || die
+ bsdtar -s "#^#${PN}-node_modules-${ver}/#S" -caf "${tar}" package-lock.json node_modules/ || die
einfo "Packaged tar now available:"
einfo "$(du -b "${tar}")"
}