realview22.rar
源代码在线查看: uninstall.sh
#!/bin/sh # # uninstall - simple wrapper for the Unix uninstaller. # Copyright 2003 ARM Limited. All rights reserved. # # $Revision: 1.1.2.6 $ # $Author: aferguso $ # $Date: 2004/10/11 10:59:50 $ : Version marker for update. Must not have trailing whitespace. ' MARKER 10 ' arch=`uname` case "$arch" in SunOS) host=solaris-sparc binname=setupsolaris.bin ;; HP-UX) host=hpux-hppa binname=setuphpux.bin ;; Linux) host=linux-pentium binname=setuplinux.bin ;; *) echo $0: unknown host $arch exit 1 ;; esac dir=`dirname $0` D=`dirname "$dir/.."` B=`basename "$dir/.."` abspath="`cd \"$D\" 2>/dev/null && pwd || echo \"$D\"`/$B" "$dir/$host/$binname" -source "$abspath" -uninstall "$@"