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.

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

mercurial