[Kroupware] checking for uudecode in openpkg-20030606-20030606.src.sh

Bernhard Erdmann be at berdmann.de
Sun Jul 27 17:13:45 CEST 2003


Hi,

openpkg-20030606-20030606.src.sh tries to execute uudecode without 
testing its existance or checking its return code:

#   extract the tarball
echo "$me: extracting to $dir..."
uudecode $me
rm -rf $dir >/dev/null 2>&1
mkdir $dir || exit 1

As uudecode (part of sharutils) is not installed on each and every 
system, this line should read at least:

uudecode $me || exit 1

Regards
Bernhard



More information about the Kroupware mailing list