소스 검색

Fix update-patches patch names

Matthias Schiffer 10 년 전
부모
커밋
b7676e5818
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scripts/update-patches.sh

+ 1 - 1
scripts/update-patches.sh

@@ -13,6 +13,6 @@ for module in $GLUON_MODULES; do
 	n=0
 	for commit in $(git -C "$dir" rev-list --reverse --no-merges base..patched); do
 		let n=n+1
-		git -C "$dir" show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' $commit > "$1"/patches/$module/"$(printf '%04u' $n)-$(git -C "$dir" show -s --pretty=format:%f).patch"
+		git -C "$dir" show --pretty=format:'From: %an <%ae>%nDate: %aD%nSubject: %B' $commit > "$1"/patches/$module/"$(printf '%04u' $n)-$(git -C "$dir" show -s --pretty=format:%f $commit).patch"
 	done
 done