1 1
borsti67

[PATCH] Small bug in Logging

Recommended Posts

Hi,

 

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1