tportable ar. - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 8b6a5e678a09ae92d95a25bc60c03467e0224ce9
(DIR) parent 912fba95e74c7631352bc5007249d75e720bbcdf
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 24 Nov 2003 22:40:36 +0000
portable ar.
Diffstat:
A bin/9ar | 9 +++++++++
1 file changed, 9 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/bin/9ar b/bin/9ar
t@@ -0,0 +1,9 @@
+#!/bin/sh
+
+ar "$@"
+case "`uname`" in
+Darwin)
+ ranlib -c $2
+ ;;
+esac
+