[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    Re: [opensuse-buildservice] Creating symlink during build
From:       Bernhard Voelker <mail () bernhard-voelker ! de>
Date:       2013-09-19 16:41:41
Message-ID: 523B2945.7010901 () bernhard-voelker ! de
[Download RAW message or body]

On 09/19/2013 04:04 PM, Denny Beyer wrote:
> Dear all,
> In openSUSE seems to be a setup issue for antRun that makes my build fail, as 
> antRun could not be found.
> 
> By creating by hand a symlink from "/usr/share/ant/bin/antRun" to 
> "/usr/bin/antRun" should fix it.

> I tried the following in build section of the spec:
> mkdir %{buildroot}/usr/share/ant/bin/
> ln -s %{buildroot}/usr/bin/antRun %{buildroot}/usr/share/ant/bin/antRun

First of all, I'd always use ln's -v option.
The above ln command would try to create a symlink with the name
/usr/share/ant/bin/antRun to /usr/bin/antRun.

Don't you want it the other way round, i.e. /usr/bin/antRun to be
a symlink pointing to /usr/share/ant/bin/antRun?

Have a nice day,
Berny

-- 
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic