diff options
| author | pigeons <pigeons> | 2017-01-16 09:37:12 -0800 |
|---|---|---|
| committer | pigeons <pigeons> | 2017-01-16 09:37:12 -0800 |
| commit | 7f8d4ac3d200afdf421b705076f888ba25641981 (patch) | |
| tree | 465c162ae19e3e80d4929992ee22a79632164baa /linuxdeploy_helper.sh | |
| parent | de63e930245b5f36bd378f5ca5c0ce19aa1cd515 (diff) | |
| download | monzero-gui-7f8d4ac3d200afdf421b705076f888ba25641981.tar.gz monzero-gui-7f8d4ac3d200afdf421b705076f888ba25641981.tar.xz monzero-gui-7f8d4ac3d200afdf421b705076f888ba25641981.zip | |
exit script with appropriate status if these commands fail
Diffstat (limited to 'linuxdeploy_helper.sh')
| -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 |
