Browse Source

Fix git object

bryan 3 days ago
parent
commit
64ffeeca17
1 changed files with 1 additions and 2 deletions
  1. 1 2
      openwrtbuilder

+ 1 - 2
openwrtbuilder

@@ -583,8 +583,7 @@ from_source() {
   echo "Current commit hash: $commit"
   echo "Git worktree description: $description"
 
-  ((DEBUG)) && git --no-pager -C "$BUILD_DIR" log --all --pretty=format:"%ai %H" |
-    sort -r | head -n1 | awk '{print $NF}' | xargs git show --no-patch
+  ((DEBUG)) && git --no-pager -C "$BUILD_DIR" log --all --pretty=format:"%ai %H" | sort -r | head -n1 | awk '{print $NF}' | xargs git show --no-patch
 
   # Enter worktree
   execute pushd "$BUILD_DIR" || return 1