openbsd-ports/x11/rox-filer/patches/patch-ROX-Filer_AppRun
2004-05-31 13:38:53 +00:00

16 lines
444 B
Plaintext

$OpenBSD: patch-ROX-Filer_AppRun,v 1.6 2004/05/31 13:38:53 couderc Exp $
--- ROX-Filer/AppRun.orig 2004-04-21 20:56:36.000000000 +0200
+++ ROX-Filer/AppRun 2004-05-31 15:26:56.000000000 +0200
@@ -6,10 +6,7 @@ APP_DIR=`dirname "$0"`
APP_DIR=`cd "$APP_DIR";pwd`; export APP_DIR
if [ "x$PLATFORM" = x ]; then
- ARCH=`uname -m`
- case "$ARCH" in
- i?86) ARCH=ix86 ;;
- esac
+ ARCH=`arch -s`
PLATFORM=`uname -s`-"$ARCH" export PLATFORM
fi