diff options
Diffstat (limited to 'ldap/cm/unixstrip')
-rwxr-xr-x | ldap/cm/unixstrip | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ldap/cm/unixstrip b/ldap/cm/unixstrip new file mode 100755 index 00000000..102c5c4c --- /dev/null +++ b/ldap/cm/unixstrip @@ -0,0 +1,31 @@ +#!/bin/sh +# +# BEGIN COPYRIGHT BLOCK +# Copyright 2001 Sun Microsystems, Inc. +# Portions copyright 1999, 2001-2003 Netscape Communications Corporation. +# All rights reserved. +# END COPYRIGHT BLOCK +# +# usage unixstrip <location> + +perl="$1" + +arch=`uname -s` +if [ "$arch" = "HP-UX" ]; then + SHLIB_PATH="$4" + export SHLIB_PATH +else + LD_LIBRARY_PATH="$4" + export LD_LIBRARY_PATH +fi + +if [ $# > 2 ]; then +exec "$perl" unixstrip.pl "$2" "$3" +else +exec "$perl" unixstrip.pl "$2" +fi + +#for StripFile in `find . -type f -print ` +#do +# strip $StripFile +#done |