nss: import at 3.0.1 beta 1
[mozilla-nss.git] / security / nss / cmd / shlibsign / sign.cmd
blob9ad4b9236b9b4d01768efbc22be4863190791b53
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';'dist'\bin;%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