We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37593bf commit a83f877Copy full SHA for a83f877
1 file changed
build.sh
@@ -78,7 +78,7 @@ make_image() {
78
losetup -d ${LOOP_DEV} 2>/dev/null
79
80
# Compress build IMG and move the file
81
- gzip -9 ${IMG_FILENAME} && sync && mv "${IMG_FILENAME}.gz" ${OUT_DIR}
+ tar c ${IMG_FILENAME} | gzip -9 > "${OUT_DIR}/${IMG_FILENAME}.tar.gz"
82
}
83
84
cd ${WORKING_DIR}
0 commit comments