Fixed library installer windows .bat generator
parent
2b06503027
commit
d92ccd111d
|
@ -264,13 +264,9 @@ class LibraryInstaller implements InstallerInterface
|
|||
}
|
||||
}
|
||||
|
||||
return "@echo off\r\n".
|
||||
"pushd .\r\n".
|
||||
"cd %~dp0\r\n".
|
||||
"cd ".escapeshellarg(dirname($binPath))."\r\n".
|
||||
"set BIN_TARGET=%CD%\\".basename($binPath)."\r\n".
|
||||
"popd\r\n".
|
||||
$caller." \"%BIN_TARGET%\" %*\r\n";
|
||||
return "@ECHO OFF\r\n".
|
||||
"SET BIN_TARGET=%~dp0\\".escapeshellarg(dirname($binPath)).'\\'.basename($binPath)."\r\n".
|
||||
"{$caller} \"%BIN_TARGET%\" %*\r\n";
|
||||
}
|
||||
|
||||
protected function generateUnixyProxyCode($bin, $link)
|
||||
|
|
Loading…
Reference in New Issue