summaryrefslogtreecommitdiffstats
path: root/ldap/cm/unixstrip
blob: 102c5c4c0a1e527873e79e78b65c5effa399484b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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