10 lines
		
	
	
		
			546 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			546 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| # -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
 | |
| # wrapper permettant d'utiliser GIT_SSH avec des outils comme git-annex
 | |
| # La variable NULIB_GIT_FORCE_PATH doit être définie: c'est la valeur de PATH à
 | |
| # utiliser. La variable NULIB_GIT_FORCE_SSH peut être définie: c'est le nom de
 | |
| # l'exécutable à utiliser pour lancer ssh.
 | |
| [ -n "$NULIB_GIT_FORCE_PATH" ] && export PATH="$NULIB_GIT_FORCE_PATH"
 | |
| [ -n "$NULIB_GIT_FORCE_SSH" ] && export GIT_SSH="$NULIB_GIT_FORCE_SSH"
 | |
| exec "${NULIB_GIT_FORCE_SSH:-ssh}" "$@"
 |