DragonFly BSD
DragonFly commits List (threaded) for 2005-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/conf Makefile.amd64 Makefile.i386


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 25 Sep 2005 15:46:40 +0200

Jeroen Ruigrok/asmodai wrote:
asmodai 2005/09/25 05:48:46 PDT

DragonFly src repository

Modified files:
sys/conf Makefile.amd64 Makefile.i386 Log:
Use echo instead of ls to test for files, change test logic slightly for
this.

This won't work, unfortunately:


% test -f "`echo /modules/*`" && echo found
%

it expands to the list of all files, which isn't a file, and thus -f returns false.

Same goes for the etc/Makefile change.

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



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