security/nss/cmd/shlibsign/sign.cmd

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 rem This Source Code Form is subject to the terms of the Mozilla Public
     2 rem License, v. 2.0. If a copy of the MPL was not distributed with this
     3 rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 /* Equivalent to sign.sh for OS/2 */
     6 PARSE ARG dist objdir os_target nspr_lib_dir therest
     7 dist=forwardtoback(dist);
     8 objdir=forwardtoback(objdir);
     9 nspr_lib_dir=forwardtoback(nspr_lib_dir);
    10 'echo 'dist
    11 'echo 'objdir
    12 'echo 'nspr_lib_dir
    13 'set BEGINLIBPATH='dist'\lib;'nspr_lib_dir';'dist'\bin;%BEGINLIBPATH%'
    14 'set LIBPATHSTRICT=T'
    15 objdir'\shlibsign -v -i 'therest
    16 exit
    18 forwardtoback: procedure
    19   arg pathname
    20   parse var pathname pathname'/'rest
    21   do while (rest <> "")
    22     pathname = pathname'\'rest
    23     parse var pathname pathname'/'rest
    24   end
    25   return pathname

mercurial