Use correct echo prefixes
This commit is contained in:
		
							parent
							
								
									9c28c6afca
								
							
						
					
					
						commit
						8cf24ca319
					
				
							
								
								
									
										6
									
								
								run.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								run.sh
									
									
									
									
									
								
							| @ -3,7 +3,7 @@ | ||||
| ECHOPREFIX=" => " | ||||
| NULLPREFIX="    " | ||||
| 
 | ||||
| echo -e "=> Hello, this is \033[31mtexbox\033[0m" | ||||
| echo -e "$ECHOPREFIX Hello, this is \033[31mtexbox\033[0m" | ||||
| 
 | ||||
| if test "$(ls -A /tex)"; then | ||||
|     # Directory not empty - user mounted directory \o/ | ||||
| @ -23,7 +23,7 @@ if test "$(ls -A /tex)"; then | ||||
|     texi2pdf ../$TARGET | ||||
| else | ||||
|     # Directory is empty | ||||
|     echo "=> Please mount your directory to /tex" | ||||
|     echo "   See you soon." | ||||
|     echo "$ECHOPREFIX Please mount your directory to /tex" | ||||
|     echo "$NULLPREFIX See you soon." | ||||
| fi | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user