summaryrefslogtreecommitdiffstats
path: root/upd-instroot
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-28 16:43:57 +0000
committerMatt Wilson <msw@redhat.com>1999-09-28 16:43:57 +0000
commit56d9243f3867ef4f95a0388710b313183b697f24 (patch)
tree18647ae9d16b0536000fbb03a4472e8a53f06cd7 /upd-instroot
parentbb4943a4857cb4a50ad12bd94d4bd9ad52900ada (diff)
downloadanaconda-56d9243f3867ef4f95a0388710b313183b697f24.tar.gz
anaconda-56d9243f3867ef4f95a0388710b313183b697f24.tar.xz
anaconda-56d9243f3867ef4f95a0388710b313183b697f24.zip
more from jj
Diffstat (limited to 'upd-instroot')
-rwxr-xr-xupd-instroot6
1 files changed, 5 insertions, 1 deletions
diff --git a/upd-instroot b/upd-instroot
index 154e14ae3..d7e961d07 100755
--- a/upd-instroot
+++ b/upd-instroot
@@ -6,7 +6,11 @@ if [ -z "$1" -o ! -d "$1" ]; then
exit 1
fi
-ARCH=`uname -m | sed -e 's/sparc64/sparc/' -e 's/i.86/i386/'`
+ARCH=`uname -m | sed -e 's/i.86/i386/'`
+
+if [ "$ARCH" = sparc64 ]; then
+ exec sparc32 $0 $*
+fi
HOMEDIR=`pwd`
echo HOMEDIR $HOMEDIR