On Tuesday 25 October 2005 11:51 am, guillaume pernot wrote:
> when extracting source tarball, dbs-edit-patch can't find .tgz files.
> this is due to a mising '-o' option :

I don't believe that it is due to a missing "-o" option. The "-o" option is 
only a boolean "or." The "-o" option doesn't seem to make sense in this 
context.

I just tried the find command from the dbs-edit-patch file, and it seems to 
find *.tgz files just fine.

> should be :
>
> for f in `find $SRC_TAR_DIR -type f -maxdepth 1 -name -o \*.tgz -o -name
> *.tar.gz -o -name \*.tar.bz -o -name \*.tar.bz2 ...

At best, the find statement should probably be:
find $SRC_TAR_DIR -maxdepth 1 -type f -name \*.tgz -o ...

Notice the maxdepth and type options are reversed.

wt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to