2a8591055400ed7bcad565206fd425ca10dda904 — dax 9 months ago 896f3a9
app-admin/dw: fix dwgen script
2 files changed, 7 insertions(+), 2 deletions(-)

M app-admin/dw/Manifest
M app-admin/dw/dw-1.0.ebuild
M app-admin/dw/Manifest => app-admin/dw/Manifest +1 -1
@@ 1,2 1,2 @@
-EBUILD dw-1.0.ebuild 386 BLAKE2B 517f9484a2aee06266aa50c107e10020d681b6f16db30e5ca69936e86a75fd8de9a9bfd578a618b41307c96bc0684ee8d4ce1506d5b440ded9647e2cc1d6b6d3 SHA512 0b967177f9d76b4a4a0ab6f831a5b79a32b3fc7e864e3ca23a836ddd09fe5736515e7175be7dfaab1432918f2791a6afb7930de6a3db63df9271530f17b4d2a2
+EBUILD dw-1.0.ebuild 624 BLAKE2B 0874a08b8eca7e47e8c3a5d7af94ed30577ad7ea37b5799d3632447c324a7b644ab201dd6e7bcd626f787bf6bfbc57fabff17b3cd8cd773410598bee2f096157 SHA512 1de5e4466dcdd3000992721704c5ec54730b72c70b850352e85a92e3040f5b804f0498245d9c416681cd81dc527964711b24167f2486d6d97a2fcaa110295837
 MISC metadata.xml 337 BLAKE2B 77dfa2578c355416d566eaa94924d9f91fed1c4a0dfd76c38e18760212364e07ac3dbf28b326879ef3badb332533ec615d260fb3bfe64821a78c20859dd7c985 SHA512 ca160a838e1e14d0e0c70a06350b2ca19743164456f5439512350404a6259b7f3649bcf5dfe652b6a0bf87cecafd494bd46ab5f30e15a3cb76b94f860364ba4b

M app-admin/dw/dw-1.0.ebuild => app-admin/dw/dw-1.0.ebuild +6 -1
@@ 1,4 1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6


@@ 15,4 15,9 @@ KEYWORDS="~amd64"
 
 src_install() {
 	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+
+	mv "${D}${EPREFIX}"/usr/bin/dwgen "${D}${EPREFIX}"/usr/bin/dwgen.old
+	sed "s|${D}||" < "${D}${EPREFIX}"/usr/bin/dwgen.old > "${D}${EPREFIX}"/usr/bin/dwgen
+	chmod 775 "${D}${EPREFIX}"/usr/bin/dwgen
+	rm "${D}${EPREFIX}"/usr/bin/dwgen.old
 }