Import from 1.9a8 tarball
[mozilla-nss.git] / security / nss / cmd / shlibsign / sign.cmd
blob92414538ee24ac07b4d6a5c5df271e0852518b3f
1 /* Equivalent to sign.sh for OS/2 */
2 PARSE ARG dist objdir os_target nspr_lib_dir therest
3 dist=forwardtoback(dist);
4 objdir=forwardtoback(objdir);
5 nspr_lib_dir=forwardtoback(nspr_lib_dir);
6 'echo 'dist
7 'echo 'objdir
8 'echo 'nspr_lib_dir
9 'set BEGINLIBPATH='dist'\lib;'nspr_lib_dir';%BEGINLIBPATH%'
10 'set LIBPATHSTRICT=T'
11 objdir'\shlibsign -v -i 'therest
12 exit
14 forwardtoback: procedure
15 arg pathname
16 parse var pathname pathname'/'rest
17 do while (rest <> "")
18 pathname = pathname'\'rest
19 parse var pathname pathname'/'rest
20 end
21 return pathname