File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -455,9 +455,8 @@ function createPackage {
455455
456456 if [ " $PKG_PLATFORM " = " linux64" ]; then
457457 downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-linux-gui.gz 2> /dev/null
458- mkdir -p projectGenerator
459- tar -xzvf projectGenerator-linux-gui.gz --strip-components=1 -C projectGenerator-linux-gui
460- # mv projectGenerator-linux-gui projectGenerator
458+ tar -xzvf projectGenerator-linux-gui.gz
459+ mv $( find . -maxdepth 1 -type d -name " projectGenerator-*" ) projectGenerator
461460 rm -rf apps/projectGenerator
462461 fi
463462
@@ -476,8 +475,8 @@ function createPackage {
476475 rm -rf apps/projectGenerator
477476 elif [ " ${LIBS_ABI} " == " linux64" ]; then
478477 downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-linux-gui.gz 2> /dev/null
479- mkdir -p projectGenerator
480- tar -xzvf projectGenerator-linux-gui.gz --strip-components= 1 -C projectGenerator-linux-gui
478+ tar -xzvf projectGenerator-linux-gui.gz
479+ mv $( find . -maxdepth 1 -type d -name " projectGenerator-* " ) projectGenerator
481480 # mv projectGenerator-linux-gui projectGenerator
482481 rm -rf apps/projectGenerator
483482 fi
You can’t perform that action at this time.
0 commit comments