mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	If a command fails, there's no point in continuing with configuring the project. Exit immediately. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			487 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			487 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# Only there to make jhbuild happy
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
git submodule init
 | 
						|
git submodule update
 | 
						|
 | 
						|
if [ -z $MESON ]; then
 | 
						|
	MESON=`which meson`
 | 
						|
fi
 | 
						|
if [ -z $MESON ]; then
 | 
						|
	echo "error: Meson not found."
 | 
						|
	echo "Install meson to configure and build Pipewire. If meson" \
 | 
						|
	     "is already installed, set the environment variable MESON" \
 | 
						|
	     "to the binary's path."
 | 
						|
	exit 1;
 | 
						|
fi
 | 
						|
 | 
						|
mkdir -p build
 | 
						|
$MESON setup "$@" build # use 'autogen.sh --reconfigure' to update
 | 
						|
ln -sf build/Makefile Makefile
 |