wok-4.x diff erlang/receipt @ rev 9689
startup-notification: clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 06 22:03:25 2011 +0000 (2011-05-06) |
parents | 397676d92cdb |
children | ecc22c518136 |
line diff
1.1 --- a/erlang/receipt Thu Mar 17 11:20:04 2011 +0100 1.2 +++ b/erlang/receipt Fri May 06 22:03:25 2011 +0000 1.3 @@ -27,13 +27,13 @@ 1.4 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && 1.5 make -j 1 && 1.6 make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1 1.7 - for i in _pkg/usr/lib/erlang/*/bin/erl _pkg/usr/lib/erlang/bin/erl \ 1.8 - _pkg/usr/lib/erlang/*/bin/start _pkg/usr/lib/erlang/bin/start 1.9 + for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \ 1.10 + $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start 1.11 do 1.12 sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i 1.13 done 1.14 - for i in _pkg/usr/bin/* ; do 1.15 - ln -sf $(readlink $i | sed 's|.*/_pkg||') $i 1.16 + for file in $(ls $DESTDIR/usr/bin); do 1.17 + ln -sf /usr/lib/erlang/bin/$file $DESTDIR/usr/bin/$file || return 1 1.18 done 1.19 } 1.20