security/nss/cmd/shlibsign/sign.cmd

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/cmd/shlibsign/sign.cmd	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +rem This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +rem License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +/* Equivalent to sign.sh for OS/2 */
     1.9 +PARSE ARG dist objdir os_target nspr_lib_dir therest
    1.10 +dist=forwardtoback(dist);
    1.11 +objdir=forwardtoback(objdir);
    1.12 +nspr_lib_dir=forwardtoback(nspr_lib_dir);
    1.13 +'echo 'dist
    1.14 +'echo 'objdir
    1.15 +'echo 'nspr_lib_dir
    1.16 +'set BEGINLIBPATH='dist'\lib;'nspr_lib_dir';'dist'\bin;%BEGINLIBPATH%'
    1.17 +'set LIBPATHSTRICT=T'
    1.18 +objdir'\shlibsign -v -i 'therest
    1.19 +exit
    1.20 +
    1.21 +forwardtoback: procedure
    1.22 +  arg pathname
    1.23 +  parse var pathname pathname'/'rest
    1.24 +  do while (rest <> "")
    1.25 +    pathname = pathname'\'rest
    1.26 +    parse var pathname pathname'/'rest
    1.27 +  end
    1.28 +  return pathname

mercurial