mirror of
				https://github.com/vyos/vyos-build.git
				synced 2025-10-01 20:28:40 +02:00 
			
		
		
		
	build-submodules: report back package error when build with --verbose
This commit is contained in:
		
							parent
							
								
									b10711d42e
								
							
						
					
					
						commit
						9210522425
					
				@ -104,6 +104,9 @@ build_package() {
 | 
			
		||||
  ) >>$PKGDIR/$PKG.buildlog 2>&1
 | 
			
		||||
  if [ $? -ne 0 ]; then
 | 
			
		||||
    status_fail
 | 
			
		||||
    if [ $VERBOSE -eq 1 ]; then
 | 
			
		||||
      cat $PKGDIR/$PKG.buildlog
 | 
			
		||||
    fi
 | 
			
		||||
    error_msg "Failed to build package $PKG, look in $PKG.buildlog to examine the fault\n"
 | 
			
		||||
    return 2
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user