about summary refs log tree commit diff
path: root/pkgs/tools/system/runit/fix-ar-ranlib.patch
blob: c65a037d5242f8a66995e3c8a0e0c8571c601b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- runit-2.1.2/src/print-ar.sh
+++ runit-2.1.2/src/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 @@ case "`cat systype`" in
   dgux-*) ;;
   hp-ux-*) ;;
   sco*) ;;
-  *) echo 'ranlib "$main"' ;;
+  *) echo '$RANLIB "$main"' ;;
 esac