summary refs log tree commit diff
path: root/runit-2.1.2/src/print-ar.sh
blob: 99bc1162fa0fc8f40d36d4919c3207d3b996e864 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cat warn-auto.sh
echo 'main="$1"; shift'
echo 'rm -f "$main"'
echo 'ar cr "$main" ${1+"$@"}'
case "`cat systype`" in
  sunos-5.*) ;;
  unix_sv*) ;;
  irix64-*) ;;
  irix-*) ;;
  dgux-*) ;;
  hp-ux-*) ;;
  sco*) ;;
  *) echo 'ranlib "$main"' ;;
esac