Update 'init/entrypoint.sh'
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -6,12 +6,12 @@ git config --global http.proxyAuthMethod basic | ||||
| # Clone git-repo | ||||
| git init | ||||
| git config core.sparsecheckout true | ||||
| echo $SPARSE_CHECKOUT >> .git/info/sparse-checkout | ||||
| echo "$SPARSE_CHECKOUT" >> .git/info/sparse-checkout | ||||
| git remote add -f origin $REMOTE_REPO | ||||
| git pull origin $REMOTE_BRANCH | ||||
|  | ||||
| # Create target folder and move files | ||||
| mkdir -p $TARGET_DIR | ||||
| mv `echo $SPARSE_CHECKOUT` $TARGET_DIR | ||||
| mv `echo "$SPARSE_CHECKOUT" | awk '{gsub(/\/\*$/, ""); print}'` $TARGET_DIR | ||||
|  | ||||
| exec "$@" | ||||
		Reference in New Issue
	
	Block a user