File: build

package info (click to toggle)
iozone3 308-1
  • links: PTS
  • area: non-free
  • in suites: squeeze
  • size: 1,604 kB
  • ctags: 1,002
  • sloc: ansic: 22,347; makefile: 969; perl: 271; sh: 41
file content (12 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

arch=$(dpkg --print-installation-architecture)

if [ "$arch" = powerpc ]; then
  (cd src/current; make linux-powerpc)
elif [ "$arch" = sparc ]; then  
  (cd src/current; make linux-sparc)
else
  (cd src/current; make linux)
fi