Skip to content

Commit d746136

Browse files
authored
Update create_package.sh
closes #8400
1 parent 9ebfedf commit d746136

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/dev/create_package.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,9 @@ 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-
gunzip projectGenerator-linux-gui.gz
459-
mv projectGenerator-linux-gui projectGenerator
458+
mkdir -p projectGenerator
459+
tar -xzvf projectGenerator-linux-gui.gz --strip-components=1 -C projectGenerator-linux-gui
460+
#mv projectGenerator-linux-gui projectGenerator
460461
rm -rf apps/projectGenerator
461462
fi
462463

@@ -475,8 +476,9 @@ function createPackage {
475476
rm -rf apps/projectGenerator
476477
elif [ "${LIBS_ABI}" == "linux64" ]; then
477478
downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-linux-gui.gz 2> /dev/null
478-
gunzip projectGenerator-linux-gui.gz
479-
mv projectGenerator-linux-gui projectGenerator
479+
mkdir -p projectGenerator
480+
tar -xzvf projectGenerator-linux-gui.gz --strip-components=1 -C projectGenerator-linux-gui
481+
#mv projectGenerator-linux-gui projectGenerator
480482
rm -rf apps/projectGenerator
481483
fi
482484

0 commit comments

Comments
 (0)