소스 검색

Fix update check

andryyy 8 년 전
부모
커밋
426b597d02
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      update.sh

+ 1 - 1
update.sh

@@ -25,7 +25,7 @@ case "${1}" in
 	--check|-c)
 		echo "Checking remote code for updates..."
 		git fetch
-		if ! git diff --quiet --exit-code; then
+		if ! git diff origin/${BRANCH} --quiet; then
 			echo "Updated code is available."
 		else
 			echo "No updates available."