On Fri, Jan 4, 2013 at 7:11 AM, sardine <[email protected]> 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

Reply via email to