Add symlinks to the last successful and last failed build
This commit is contained in:
		
							parent
							
								
									f1117a1840
								
							
						
					
					
						commit
						d8657b4975
					
				
							
								
								
									
										4
									
								
								run.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								run.sh
									
									
									
									
									
								
							| @ -26,10 +26,14 @@ if test "$(ls -A /tex)"; then | ||||
|         echo "$ECHOPREFIX Created the PDF!" | ||||
|         echo "$NULLPREFIX Here are the results:" | ||||
|         ls ../$BUILD/*.pdf | ||||
|         rm ./last-successful 2>/dev/null | ||||
|         ln -sf $BUILD ./last-successful | ||||
|     else | ||||
|         echo "$ECHOPREFIX Build failed." | ||||
|         echo "$NULLPREFIX Have a look at the logs:" | ||||
|         ls ../$BUILD/*.log | ||||
|         rm ./last-failed 2>/dev/null | ||||
|         ln -sf $BUILD ./last-failed | ||||
|     fi | ||||
| 
 | ||||
|     cd .. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user