File: build

package info (click to toggle)
iozone3 287-2
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 1,584 kB
  • ctags: 987
  • sloc: ansic: 21,982; makefile: 950; 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