diff options
author | jbj <devnull@localhost> | 2000-05-31 15:53:53 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-05-31 15:53:53 +0000 |
commit | 2cfe19084858ec55e2cd9db5a7b5c4e7dbdbb44c (patch) | |
tree | 0d7f3e8a3bdca2f9471cd9354b1cc6ff094fc73a | |
parent | 59673372bd0801aaf770a95e8fda54a824da406a (diff) | |
download | rpm-2cfe19084858ec55e2cd9db5a7b5c4e7dbdbb44c.tar.gz rpm-2cfe19084858ec55e2cd9db5a7b5c4e7dbdbb44c.tar.bz2 rpm-2cfe19084858ec55e2cd9db5a7b5c4e7dbdbb44c.zip |
Add noarch as well.
CVS patchset: 3780
CVS date: 2000/05/31 15:53:53
-rwxr-xr-x | installplatform | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installplatform b/installplatform index ce390a831..fcfd90df6 100755 --- a/installplatform +++ b/installplatform @@ -22,12 +22,12 @@ target_platform="`$RPM --eval '%{_target_platform}'`" target="`$RPM --eval '%{_target}'`" case "$arch" in - i[3456]86) SUBSTS='s_i386_i486_ s_i386_i586_ s_i386_i686_' ;; + i[3456]86) SUBSTS='s_i386_i386_ s_i386_i486_ s_i386_i586_ s_i386_i686_' ;; sparc*) SUBSTS='s_sparc64_sparc_ s_sparc\([^6]\)_sparc64\1_' ;; *) SUBSTS=y___ ;; esac -for SUBST in $SUBSTS; do +for SUBST in $SUBSTS 's_^[^-]*-_noarch_' ; do ARCH=`echo $arch | sed -e $SUBST` TARGET_PLATFORM=`echo $target_platform | sed -e $SUBST` TARGET=`echo $target | sed -e $SUBST` |