summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/checkpaths.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/tools/scripts/checkpaths.sh')
-rw-r--r--usr/src/tools/scripts/checkpaths.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/src/tools/scripts/checkpaths.sh b/usr/src/tools/scripts/checkpaths.sh
index 723ee14219..0ec887157d 100644
--- a/usr/src/tools/scripts/checkpaths.sh
+++ b/usr/src/tools/scripts/checkpaths.sh
@@ -19,8 +19,9 @@
#
# CDDL HEADER END
#
+
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -67,8 +68,12 @@ fi
for ROOT in $rootlist
do
case "$ROOT" in
- *sparc) arch=sparc;;
- *i386) arch=i386;;
+ *sparc|*sparc-nd)
+ arch=sparc
+ ;;
+ *i386|*i386-nd)
+ arch=i386
+ ;;
*)
echo "$ROOT has unknown architecture." >&2
exit 1