Revision e3fed9f41e47cd859d25a8aa87dcb515f47d30db authored by Dr. Stephen Henson on 18 October 2011, 22:11:11 UTC, committed by Dr. Stephen Henson on 18 October 2011, 22:11:11 UTC
1 parent 3e00b4c
arx.pl
#!/bin/perl
# Simple perl script to wrap round "ar" program and exclude any
# object files in the environment variable EXCL_OBJ
map { s/^.*\/([^\/]*)$/$1/ ; $EXCL{$_} = 1} split(' ', $ENV{EXCL_OBJ});
#my @ks = keys %EXCL;
#print STDERR "Excluding: @ks \n";
my @ARGS = grep { !exists $EXCL{$_} } @ARGV;
system @ARGS;
exit $? >> 8;

Computing file changes ...