mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
STABLE14-man-page-bash-bashish-20060308
if ! command is a bashish. Use if command ; then : ; else instead.
(cherry picked from commit da878c2b9d
)
This commit is contained in:
parent
68f34324f4
commit
23e83d2372
@ -13,11 +13,15 @@ if [ ! -d pod1 ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! pod2man pod1/afs.pod > /dev/null ; then
|
||||
if pod2man pod1/afs.pod > /dev/null ; then
|
||||
:
|
||||
else
|
||||
echo 'pod2man not found, skipping man page generation' >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! perl -e 'use Pod::Man 2.04' > /dev/null 2>&1 ; then
|
||||
if perl -e 'use Pod::Man 2.04' > /dev/null 2>&1 ; then
|
||||
:
|
||||
else
|
||||
echo 'Pod::Man is older than the recommended version of 2.04 or later' >&2
|
||||
echo 'Continuing with man page generation anyway' >&2
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user