Commit 9b95a70 1 parent b33c023 commit 9b95a70 Copy full SHA for 9b95a70
File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -272,14 +272,10 @@ pipeline {
272
272
dir(" libs/${ PLATFORM} " ) {
273
273
unstash " swt.binaries.${ PLATFORM} "
274
274
sh ''' #!/bin/bash -x
275
- DEST_PLATFORM=${PLATFORM}
276
275
if [[ ${PLATFORM} == cocoa.macosx.* ]]; then
277
276
binariesExtension='jnilib'
278
277
signerUrl='https://cbi.eclipse.org/macos/codesign/sign'
279
- elif [[ ${PLATFORM} == gtk4.linux.x86_64 ]]; then
280
- binariesExtension='so'
281
- DEST_PLATFORM=gtk.linux.x86_64
282
- elif [[ ${PLATFORM} == gtk.linux.* ]]; then
278
+ elif [[ ${PLATFORM} == gtk.linux.* || ${PLATFORM} == gtk4.linux.* ]]; then
283
279
binariesExtension='so'
284
280
elif [[ ${PLATFORM} == win32.win32.* ]]; then
285
281
binariesExtension='dll'
@@ -295,10 +291,10 @@ pipeline {
295
291
done
296
292
fi
297
293
fi
298
- if [[ ${PLATFORM} == gtk4.linux.x86_64 ]]; then
299
- cp libswt-pi4-gtk*.so "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${DEST_PLATFORM }/"
294
+ if [[ ${PLATFORM} == gtk4.linux.* ]]; then
295
+ cp libswt-pi4-gtk*.so "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM/gtk4/gtk }/"
300
296
else
301
- cp *.$binariesExtension "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${DEST_PLATFORM }/"
297
+ cp *.$binariesExtension "${WORKSPACE}/eclipse.platform.swt/binaries/org.eclipse.swt.${PLATFORM }/"
302
298
fi
303
299
'''
304
300
}
You can’t perform that action at this time.
0 commit comments