diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-26 02:35:07 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-26 02:35:07 +0100 |
commit | 3d6a8954f8f2c247e6cc1dd2cb9879cd470dc2ce (patch) | |
tree | f85b747374f7f39589d2b330b9540c1b17a5648a /util/arx.pl | |
parent | add fips_premain.c.sha1 (diff) | |
download | openssl-3d6a8954f8f2c247e6cc1dd2cb9879cd470dc2ce.tar.xz openssl-3d6a8954f8f2c247e6cc1dd2cb9879cd470dc2ce.zip |
update mkerr.pl for use fips directory, add arx.pl script
Diffstat (limited to 'util/arx.pl')
-rw-r--r-- | util/arx.pl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/util/arx.pl b/util/arx.pl new file mode 100644 index 0000000000..ce62625c33 --- /dev/null +++ b/util/arx.pl @@ -0,0 +1,15 @@ +#!/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; |