summaryrefslogtreecommitdiff
path: root/hints/hpux.sh
diff options
context:
space:
mode:
authorColin Watson <colinw@zeus.com>2002-05-31 18:34:06 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-31 16:20:02 +0000
commit94c7f405257e30963cbcb003a8090b12cb73506e (patch)
treeedbdb7a4bd514306cfcec3adf46b54ae7960f97a /hints/hpux.sh
parent68fb0eb7ecdd3258dde75aba3e98109bd2bcc6c3 (diff)
downloadperl-94c7f405257e30963cbcb003a8090b12cb73506e.tar.gz
archname glitch on HP-UX/IA64
Message-ID: <20020531163406.GA10401@zeus.com> p4raw-id: //depot/perl@16928
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r--hints/hpux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 1eaf249f7e..1cd190eb5b 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -18,8 +18,8 @@ if [ "$xxOsRevMajor" -ge 10 ]; then
# up to date with new CPU/OS releases.
xxcpu=`getconf CPU_VERSION`; # Get the number.
xxcpu=`printf '0x%x' $xxcpu`; # convert to hex
- archname=`sed -n -e "s/^#[ \t]*define[ \t]*CPU_//p" /usr/include/sys/unistd.h |
- sed -n -e "s/[ \t]*$xxcpu[ \t].*//p" |
+ archname=`sed -n -e "s/^#[[:space:]]*define[[:space:]]*CPU_//p" /usr/include/sys/unistd.h |
+ sed -n -e "s/[[:space:]]*$xxcpu[[:space:]].*//p" |
sed -e s/_RISC/-RISC/ -e s/HP_// -e s/_/./ -e "s/[[:space:]]*//g"`;
else
# This system is running <= 9.x