@platforma-sdk/r-builder 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/lib/linux.js +3 -1
package/package.json
CHANGED
package/scripts/lib/linux.js
CHANGED
|
@@ -209,7 +209,9 @@ function collectSoLibs(logger, binaryFiles, libsDir, libsToIgnore) {
|
|
|
209
209
|
for (const libPath of collectedLibs) {
|
|
210
210
|
logger.info(` copying '${libPath}'`);
|
|
211
211
|
const targetPath = path.join(libsDir, path.basename(libPath));
|
|
212
|
-
fs.
|
|
212
|
+
if (!fs.existsSync(targetPath)) {
|
|
213
|
+
fs.copyFileSync(libPath, targetPath);
|
|
214
|
+
}
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
return collectedLibs;
|