mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #2620 from return42/fix-git
[fix] support git versions <v2.22
This commit is contained in:
		
						commit
						4c2a8aea39
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -394,8 +394,8 @@ clone_searx() { | |||
|         info_msg "create local branch ${GIT_BRANCH} from start point: origin/${GIT_BRANCH}" | ||||
|         git branch "${GIT_BRANCH}" "origin/${GIT_BRANCH}" | ||||
|     fi | ||||
|     if [[ ! $(git branch --show-current) == "${GIT_BRANCH}" ]]; then | ||||
|         warn_msg "take into account, installing branch $GIT_BRANCH while current branch is $(git branch --show-current)" | ||||
|     if [[ ! $(git rev-parse --abbrev-ref HEAD) == "${GIT_BRANCH}" ]]; then | ||||
|         warn_msg "take into account, installing branch $GIT_BRANCH while current branch is $(git rev-parse --abbrev-ref HEAD)" | ||||
|     fi | ||||
|     export SERVICE_HOME | ||||
|     git_clone "$REPO_ROOT" "$SEARX_SRC" \ | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Alexandre Flament
						Alexandre Flament