File: arx.pl

package info (click to toggle)
openssl 0.9.8o-4squeeze14
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 25,724 kB
  • ctags: 33,381
  • sloc: ansic: 233,772; perl: 23,990; makefile: 13,204; asm: 9,276; cpp: 4,379; sh: 3,194; lisp: 24
file content (15 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/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;