error exit when compilation fails
This commit is contained in:
		
							parent
							
								
									9390536d79
								
							
						
					
					
						commit
						076354168e
					
				
					 2 changed files with 8 additions and 4 deletions
				
			
		|  | @ -1,2 +1,4 @@ | ||||||
| ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||||
| echo `basename $1 $2`.s | then echo `basename $1 $2`.s | ||||||
|  | else exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | @ -1,2 +1,4 @@ | ||||||
| ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | if ${MACH?} -I../../../h ${MACHFL?} $1 1>&2 | ||||||
| echo `basename $1 $2`.s | then echo `basename $1 $2`.s | ||||||
|  | else exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue