1 1

[PATCH] Small bug in Logging

Recommended Posts



I noticed that "install.log" was missing the beginning of the process, it starts at building the .deb for u-boot.

There is one ">" missing in common.sh:

diff --git a/common.sh b/common.sh
index 503a3ab..920ba38 100644
--- a/common.sh
+++ b/common.sh
@@ -90,7 +90,7 @@ compile_uboot (){
        cd $DEST/debs
        display_alert "Target directory" "$DEST/debs/" "info"
        display_alert "Building deb" "$uboot_name.deb" "info"
-       dpkg -b $uboot_name > $DEST/debug/install.log 2>&1
+       dpkg -b $uboot_name >> $DEST/debug/install.log 2>&1
        rm -rf $uboot_name
        FILESIZE=$(wc -c $DEST/debs/$uboot_name.deb | cut -f 1 -d ' ')

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1