File: platform.sh

package info (click to toggle)
rox 2.2.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,628 kB
  • ctags: 3,426
  • sloc: ansic: 36,949; xml: 9,296; sh: 520; makefile: 125; python: 28; perl: 27
file content (8 lines) | stat: -rw-r--r-- 112 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/sh

ARCH=`uname -m`
case "$ARCH" in
	i?86) ARCH=ix86 ;;
esac
PLATFORM=`uname -s`-"$ARCH" 
echo $PLATFORM