Skip to content

Commit b690566

Browse files
committed
simplify rm command
1 parent 16e772e commit b690566

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SPC/builder/unix/library/postgresql.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ protected function build(): void
9393

9494
// remove dynamic libs
9595
shell()->cd($this->source_dir . '/build')
96-
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so.*")
97-
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so")
96+
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.so*")
9897
->exec("rm -rf {$this->getBuildRootPath()}/lib/*.dylib");
9998

10099
FileSystem::replaceFileStr("{$this->getLibDir()}/pkgconfig/libpq.pc", '-lldap', '-lldap -llber');

0 commit comments

Comments
 (0)