diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-10 16:17:05 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2012-02-10 16:17:05 +0000 |
commit | 169ea5b3814728698b11df9d041ad205f00227f3 (patch) | |
tree | a5c3d3f98f49c58bddffece9063f7a8247fb9569 /x11-wm/windowmaker/windowmaker-9999.ebuild | |
parent | Move windowmaker-crm to windowmaker, update metadata (diff) | |
download | gnustep-169ea5b3814728698b11df9d041ad205f00227f3.tar.gz gnustep-169ea5b3814728698b11df9d041ad205f00227f3.tar.bz2 gnustep-169ea5b3814728698b11df9d041ad205f00227f3.zip |
Fix paths in generated menus and sed lines to evaluate EPREFIX
(Portage version: 2.2.0_alpha85/svn/Linux x86_64, signed Manifest commit with key C74525F2)
svn path=/overlay/; revision=442
Diffstat (limited to 'x11-wm/windowmaker/windowmaker-9999.ebuild')
-rw-r--r-- | x11-wm/windowmaker/windowmaker-9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-wm/windowmaker/windowmaker-9999.ebuild b/x11-wm/windowmaker/windowmaker-9999.ebuild index 502caff..54fd0c8 100644 --- a/x11-wm/windowmaker/windowmaker-9999.ebuild +++ b/x11-wm/windowmaker/windowmaker-9999.ebuild @@ -38,11 +38,11 @@ src_unpack() { src_prepare() { # Fix some paths - for file in "${S}"/WindowMaker/*menu*; do + for file in WindowMaker/*menu* util/wmgenmenu.c; do if [[ -r $file ]] ; then sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die - sed -i -e 's:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die - sed -i -e 's:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die + sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die + sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die fi; done; |