Skip to content

Commit f2183c8

Browse files
authored
Update create_package.sh
fix broken nightly
1 parent 14187b4 commit f2183c8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/dev/create_package.sh

+4-5
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)