diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-01-22 11:56:05 -0500 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-01-22 11:56:06 -0500 |
| commit | 32a81517d6a8062f89a2b9fe73ca50106edd1fe1 (patch) | |
| tree | f519c868f2e45255f773fb5b4ff9e26bb865fef1 | |
| parent | e7b33347e72903dc85bf448653fcf752ea0c1572 (diff) | |
| parent | 7f8d4ac3d200afdf421b705076f888ba25641981 (diff) | |
| download | monzero-gui-32a81517d6a8062f89a2b9fe73ca50106edd1fe1.tar.gz monzero-gui-32a81517d6a8062f89a2b9fe73ca50106edd1fe1.tar.xz monzero-gui-32a81517d6a8062f89a2b9fe73ca50106edd1fe1.zip | |
Merge pull request #411
7f8d4ac exit script with appropriate status if these commands fail (pigeons)
| -rwxr-xr-x | linuxdeploy_helper.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linuxdeploy_helper.sh b/linuxdeploy_helper.sh index 37f1e59e..49f68b81 100755 --- a/linuxdeploy_helper.sh +++ b/linuxdeploy_helper.sh @@ -11,12 +11,12 @@ platform=$(get_platform) # Copy dependencies EXCLUDE='libstdc++|libgcc_s.so|libc.so|libpthread' -cp -rv /usr/lib/x86_64-linux-gnu/qt5/qml $TARGET -cp -rv /usr/lib/x86_64-linux-gnu/qt5/plugins $TARGET -mkdir -p $TARGET/libs -ldd $TARGET/$GUI_EXEC | grep "=> /" | awk '{print $3}' | grep -Ev $EXCLUDE | xargs -I '{}' cp -v '{}' $TARGET/libs -ldd $TARGET/plugins/platforms/libqxcb.so| grep "=> /" | awk '{print $3}' | grep -Ev $EXCLUDE | xargs -I '{}' cp -v '{}' $TARGET/libs -cp -v /usr/lib/x86_64-linux-gnu/libQt5XmlPatterns.so.5 $TARGET/libs +cp -rv /usr/lib/x86_64-linux-gnu/qt5/qml $TARGET || exit +cp -rv /usr/lib/x86_64-linux-gnu/qt5/plugins $TARGET || exit +mkdir -p $TARGET/libs || exit +ldd $TARGET/$GUI_EXEC | grep "=> /" | awk '{print $3}' | grep -Ev $EXCLUDE | xargs -I '{}' cp -v '{}' $TARGET/libs || exit +ldd $TARGET/plugins/platforms/libqxcb.so| grep "=> /" | awk '{print $3}' | grep -Ev $EXCLUDE | xargs -I '{}' cp -v '{}' $TARGET/libs || exit +cp -v /usr/lib/x86_64-linux-gnu/libQt5XmlPatterns.so.5 $TARGET/libs || exit # Create start script cat > $TARGET/start-gui.sh <<EOL |
