fix version check to prevent useless rebuilds
							parent
							
								
									4925aa594b
								
							
						
					
					
						commit
						c09ce9cb42
					
				
							
								
								
									
										2
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										2
									
								
								Makefile
								
								
								
								
							| 
						 | 
					@ -48,7 +48,7 @@ ifdef ANDROID
 | 
				
			||||||
	chmod 755 v
 | 
						chmod 755 v
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
	@(VC_V=`./v version | cut -f 3 -d " "`; \
 | 
						@(VC_V=`./v version | cut -f 3 -d " "`; \
 | 
				
			||||||
	V_V=`git rev-parse --short HEAD`; \
 | 
						V_V=`git rev-parse --short=7 HEAD`; \
 | 
				
			||||||
	if [ $$VC_V != $$V_V ]; then \
 | 
						if [ $$VC_V != $$V_V ]; then \
 | 
				
			||||||
		echo "Self rebuild ($$VC_V => $$V_V)"; \
 | 
							echo "Self rebuild ($$VC_V => $$V_V)"; \
 | 
				
			||||||
		$(MAKE) selfcompile; \
 | 
							$(MAKE) selfcompile; \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue