Skip to content

Commit f14df19

Browse files
authored
Store original source directory before modification
1 parent e9ad3c0 commit f14df19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ trait krb5
1111
{
1212
protected function build(): void
1313
{
14+
$origin_source_dir = $this->source_dir;
1415
$this->source_dir .= '/src';
1516
shell()->cd($this->source_dir)->exec('autoreconf -if');
1617
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies(true));
@@ -51,5 +52,6 @@ protected function build(): void
5152
'mit-krb5.pc',
5253
'gssrpc.pc',
5354
]);
55+
$this->source_dir = $origin_source_dir;
5456
}
5557
}

0 commit comments

Comments
 (0)