소스 검색

Get toxcore commit from app script

Bob Mottram 8 년 전
부모
커밋
b9e1e4b72d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      src/freedombone-image-customise

+ 2
- 2
src/freedombone-image-customise 파일 보기

@@ -627,9 +627,9 @@ function mesh_firewall {
627 627
 function mesh_tox_node {
628 628
 	# obtain commits from the main file
629 629
 	if [ -f /usr/local/bin/${PROJECT_NAME} ]; then
630
-		TOXCORE_COMMIT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME} | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}')
630
+		TOXCORE_COMMIT_MAIN=$(cat /usr/local/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}')
631 631
 	else
632
-		TOXCORE_COMMIT_MAIN=$(cat /usr/bin/${PROJECT_NAME} | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}')
632
+		TOXCORE_COMMIT_MAIN=$(cat /usr/bin/${PROJECT_NAME}-app-tox | grep "TOXCORE_COMMIT=" | head -n 1 | awk -F "'" '{print $2}')
633 633
 	fi
634 634
 	if [ ${#TOXCORE_COMMIT_MAIN} -gt 10 ]; then
635 635
 		TOXCORE_COMMIT=$TOXCORE_COMMIT_MAIN