begin to cleanup cleanup-latex
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								d8766e114e
							
						
					
				
			
			
				commit
				
					
						b2a04fa588
					
				
			
		
					 1 changed files with 6 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,6 +1,9 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					# Steven Armstrong
 | 
				
			||||||
 | 
					# Nico Schottelius
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
DIR="${1}"
 | 
					DIR="$1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[ -z "${DIR}" ] && DIR="${PWD}"
 | 
					[ -z "${DIR}" ] && DIR="${PWD}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -11,4 +14,4 @@ if ! [ -d "${DIR}" ]; then
 | 
				
			||||||
	exit 1
 | 
						exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
rm "${DIR}"/*.{aux,nav,out,toc,snm,log}
 | 
					rm "${DIR}"/*.{aux,nav,out,toc,snm,log,vrb}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue