summaryrefslogtreecommitdiff
blob: 6aacbd9b80dd82b40aa2619281d1ef3584d172ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/print-ar.sh
+++ b/print-ar.sh
@@ -1,7 +1,7 @@
 cat warn-auto.sh
 echo 'main="$1"; shift'
 echo 'rm -f "$main"'
-echo 'ar cr "$main" ${1+"$@"}'
+echo '${AR} cr "$main" ${1+"$@"}'
 case "`cat systype`" in
   sunos-5.*) ;;
   unix_sv*) ;;
@@ -10,5 +10,5 @@
   dgux-*) ;;
   hp-ux-*) ;;
   sco*) ;;
-  *) echo 'ranlib "$main"' ;;
+  *) echo '${RANLIB} "$main"' ;;
 esac