mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	This makes curl exit with nonzero status on HTTP 4xx/5xx errors. Signed-off-by: Anders Kaseorg <anders@zulip.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			280 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
set -x
 | 
						|
set -e
 | 
						|
 | 
						|
PGROONGA_VERSION="2.2.8"
 | 
						|
 | 
						|
cd "$(mktemp -d)"
 | 
						|
 | 
						|
curl -fLO https://packages.groonga.org/source/pgroonga/pgroonga-"$PGROONGA_VERSION".tar.gz
 | 
						|
tar xf pgroonga-"$PGROONGA_VERSION".tar.gz
 | 
						|
cd pgroonga-"$PGROONGA_VERSION"
 | 
						|
 | 
						|
make HAVE_MSGPACK=1
 | 
						|
make install
 |