[Kolab-devel] [issue2924] install-kolab.sh: -maxdepth/-mindepth not supported by all find implementations

Thomas Arendsen Hein kolab-issues at intevation.de
Wed Jul 23 12:40:14 CEST 2008


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

> Changing to temporary working directory /tmp/install-kolab....1444 ...
> find: bad option -mindepth
> find: [-H | -L] path-list predicate-list

Seems as if Solaris' find does not support -mindepth and -maxdepth,
so we have to find a different syntax to detect the needed files,
maybe using eval (which I try to avoid if possible).

-mindepth and -maxdepth was used in the script before, so we thought
it would work.

> Found a source based OpenPKG installer. Trying to install Kolab from source.
> Creating binary openpkg package from ./openpkg-20071227-20071227.src.sh!

Hmm, it should not have found the .src.sh without a working find
command, but we'll see.

> Processing files: openpkg-20071227-20071227
> Wrote: /kolab/RPM/PKG/openpkg-20071227-20071227.sparc64-solaris10-kolab.rpm
> Executing(%clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.1024
> + cd /kolab/RPM/TMP
> + '[' . = .1 ']'
> + rm -rf openpkg-20071227
> + rm -rf /kolab/RPM/TMP/openpkg-20071227-root
> + exit 0
> Executing(--clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.18771
> + cd /kolab/RPM/TMP
> + exit 0
> Preparing...                ##################################################
> openpkg                     ##################################################
> :::: /tmp/install-kolab....1444/openpkg-20071227-20071227.src.rpm = 0 ::::
> :::: /tmp/install-kolab....1444/make-3.81-20080101.src.rpm ::::
> error: cannot open /tmp/install-kolab....1444/make-3.81-20080101.src.rpm: No
such file or directory

The script should have aborted earlier here.

----------
assignedto: thomas
messages: 15868
nosy: bernhard, martin, soliva, thomas, till, wilde, wrobel
priority: bug
status: unread
title: install-kolab.sh: -maxdepth/-mindepth not supported by all find implementations
topic: server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue2924>
___________________________________________________




More information about the devel mailing list