mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-13 20:05:35 +08:00
simplify rm command
This commit is contained in:
@@ -93,8 +93,7 @@ trait postgresql
|
|||||||
|
|
||||||
// remove dynamic libs
|
// remove dynamic libs
|
||||||
shell()->cd($this->source_dir . '/build')
|
shell()->cd($this->source_dir . '/build')
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so.*")
|
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so*")
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so")
|
|
||||||
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.dylib");
|
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.dylib");
|
||||||
|
|
||||||
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');
|
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');
|
||||||
|
|||||||
Reference in New Issue
Block a user