gluon-core: use awk instead of grep+cut
This commit is contained in:
		
							parent
							
								
									5f8e34fc2f
								
							
						
					
					
						commit
						b953d5026f
					
				| @ -16,7 +16,7 @@ mkdir -p "$VERSION_DIR" | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| version_of() { | version_of() { | ||||||
| 	opkg status "gluon-$1" | grep '^Version: ' | cut -d' ' -f 2 | 	opkg status "gluon-$1" | awk '/^Version: / { print $2 }' | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| oldversion_of() { | oldversion_of() { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user