Re: Referencing $srcdir in PKGBUILD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 2010-08-17 at 10:05 +0100, Magnus Therning wrote:
> Lately my PKGBUILDs result in a warning when building:
> 
> ==> WARNING: Package contains reference to $srcdir
> 
> It's a bit confusing, since PKGBUILD(5) has the following to say about $srcdir:
> 
>        srcdir
>            This points to the directory where makepkg extracts or
> copies all source files.
> 
> What should I do to get rid of the warning?

Depends on your package. Somehow your $srcdir of $pkgdir ended up in one
of the installed files in your package. Use grep to find references to
it (the full path, not the variable name) and find a way to get rid of
those.

What package are we talking about btw?



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux