Skip to content

Commit 022fdb2

Browse files
committed
fix no-strip
1 parent 7688a55 commit 022fdb2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,10 @@ public function deployBinary(string $src, string $dst, bool $executable = true):
145145
throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}");
146146
}
147147

148-
// extract debug info
149-
$this->extractDebugInfo($dst);
150-
151-
// strip
152148
if (!$this->getOption('no-strip')) {
149+
// extract debug info
150+
$this->extractDebugInfo($dst);
151+
// extra strip
153152
$this->stripBinary($dst);
154153
}
155154

0 commit comments

Comments
 (0)