[Mageia-dev] Help with package

Juan Luis Baptiste juancho at mageia.org
Sat Jan 5 08:02:52 CET 2013


On Fri, Jan 4, 2013 at 7:11 AM, sardine <sardine213 at sfr.fr> wrote:

> Hi,
>
> This should work :
>
> pushd %{buildroot}%{_datadir}/%{name}/basewsw
> for i in *;
> do
>   file=`basename $i`
>   ln -sf %{_datadir}/%{name}/basewsw/$i
>  %{buildroot}%{gamelibdir}/basewsw/$file
> done
> popd
>
>
 Got it working with:

for i in `%{_datadir}/warsow/basewsw/*`;
do
   file=`basename $i`
   ln -sf $i  %{gamelibdir}/basewsw/$file
done

The game name in the for loop was wrong.


Cheers,
-- 
Juancho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-dev/attachments/20130105/b42f572f/attachment.html>


More information about the Mageia-dev mailing list