Re: Makefile to build all packages

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



Alessandro Doro wrote:
On Sat, Apr 04, 2009 at 04:35:04PM -0400, Baho Utot wrote:
Kurt J. Bosch wrote:
On 2009-04-04 15:06, Baho Utot wrote:
find returns the directory entry with ./ in front of the directory name
Anyone know how to make find return abs instead of ./abs

man find suggests -printf %P for this :)

doesn't work

Do you maybe need this?
for i in $(find . -mindepth 1 -maxdepth 1 -type d -printf "%P\n") ; do

That did indeed work

Now my script works "out of the box"

Many Thanks



[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