mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
619 B
Batchfile
Executable File
22 lines
619 B
Batchfile
Executable File
REM This Source Code Form is subject to the terms of the Mozilla Public
|
|
REM License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
REM file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
/* An adapted version of sign.cmd from NSS */
|
|
PARSE ARG dist filename
|
|
dist=forwardtoback(dist);
|
|
'@echo 'dist
|
|
'set BEGINLIBPATH='dist'\bin;%BEGINLIBPATH%'
|
|
'set LIBPATHSTRICT=T'
|
|
dist'\bin\shlibsign -v -i 'filename
|
|
exit
|
|
|
|
forwardtoback: procedure
|
|
arg pathname
|
|
parse var pathname pathname'/'rest
|
|
do while (rest <> "")
|
|
pathname = pathname'\'rest
|
|
parse var pathname pathname'/'rest
|
|
end
|
|
return pathname
|