mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Do some more checks.
Merge of master-melb:xfs-cmds:22995a by kenmcd. Do some more checks.
This commit is contained in:
@@ -35,8 +35,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
# check have root/toolroot set
|
|
||||||
error=false
|
error=false
|
||||||
|
|
||||||
|
# Do initial checks
|
||||||
|
|
||||||
|
# check have root/toolroot set
|
||||||
if [ -z "$TOOLROOT" ]; then
|
if [ -z "$TOOLROOT" ]; then
|
||||||
echo "TOOLROOT needs to be set to a populated IRIX toolroot"
|
echo "TOOLROOT needs to be set to a populated IRIX toolroot"
|
||||||
error=true
|
error=true
|
||||||
@@ -45,6 +48,25 @@ if [ -z "$ROOT" ]; then
|
|||||||
echo "ROOT needs to be set to a populated IRIX root"
|
echo "ROOT needs to be set to a populated IRIX root"
|
||||||
error=true
|
error=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# check we have c compiler license
|
||||||
|
if ! grep -iq '^feature cc' /var/flexlm/license.dat; then
|
||||||
|
echo "Unable to find cc license for IRIX"
|
||||||
|
echo "Get license: http://www.csd.sgi.com/prod/software/swl/keyrequest.html"
|
||||||
|
error=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check we have dev.sw.lib installed
|
||||||
|
# needed by ld32 even though we have $ROOT
|
||||||
|
if versions dev.sw.lib | grep -q dev.sw.lib; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "dev.sw.lib is not installed"
|
||||||
|
echo "Install from irix-6.5-development-libraries-1/dist"
|
||||||
|
error=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
# any check failures then exit out
|
||||||
$error && exit 1
|
$error && exit 1
|
||||||
|
|
||||||
# root/toolroot paths
|
# root/toolroot paths
|
||||||
@@ -74,7 +96,7 @@ $error && exit 1
|
|||||||
# force a full configure
|
# force a full configure
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
if [ $1 = "-f" ]; then
|
if [ $1 = "-f" ]; then
|
||||||
rm -f configure include/builddefs
|
rm -f config.cache configure include/builddefs
|
||||||
shift
|
shift
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user