Skip to content

Commit ef13c50

Browse files
committed
Fix packaging script
1 parent c83bdc1 commit ef13c50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ def releaseId() :
357357
" ../..".format( gafferCyclesRoot=gafferCyclesDirName, gafferRoot=gafferDirName, withOptix=withOptix, **formatVariables ),
358358

359359
"cd build/{platform}_{buildType} && cmake --build . --config {buildType} --target install -- -j {jobs}".format( jobs=multiprocessing.cpu_count(), **formatVariables ),
360-
"if [ -d \"install/{platform}_{buildType}/lib64\" ]; then mv install/{platform}_{buildType}/lib64/* install/{platform}_{buildType}/lib; fi".format( **formatVariables ),
360+
"mv install/{platform}_{buildType}/lib/cmake /tmp/cmake && "
361+
"if [ -d \"install/{platform}_{buildType}/lib64\" ]; then mv install/{platform}_{buildType}/lib64/* install/{platform}_{buildType}/lib; fi && "
362+
"mv /tmp/cmake/* install/{platform}_{buildType}/lib/cmake".format( **formatVariables ),
361363

362364
"cd install/{platform}_{buildType} && "
363365
"tar -c -z -f /tmp/intermediate.tar {manifest} && "

0 commit comments

Comments
 (0)