mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Use #!/bin/sh for portability (#14)
				
					
				
			This commit is contained in:
		
							parent
							
								
									bd3ed72ee8
								
							
						
					
					
						commit
						fea665eb34
					
				
							
								
								
									
										8
									
								
								yadm
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								yadm
									
									
									
									
									
								
							@ -1,5 +1,4 @@
 | 
				
			|||||||
#!/usr/bin/env bash
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					 | 
				
			||||||
# yadm - Yet Another Dotfiles Manager
 | 
					# yadm - Yet Another Dotfiles Manager
 | 
				
			||||||
# Copyright (C) 2015  Tim Byrne
 | 
					# Copyright (C) 2015  Tim Byrne
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -15,6 +14,11 @@
 | 
				
			|||||||
# You should have received a copy of the GNU General Public License
 | 
					# You should have received a copy of the GNU General Public License
 | 
				
			||||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#; execute script with bash (shebang line is /bin/sh for portability)
 | 
				
			||||||
 | 
					if [ -z "$BASH_VERSION" ]; then
 | 
				
			||||||
 | 
					  [ "$YADM_TEST" != 1 ] && exec bash "$0" "$@"
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
VERSION=1.04
 | 
					VERSION=1.04
 | 
				
			||||||
 | 
					
 | 
				
			||||||
YADM_WORK="$HOME"
 | 
					YADM_WORK="$HOME"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user