Newer
Older
orange2022 / src / openslam_gmapping / build_tools / pretty_compiler
#!/bin/sh


#echo "pretty: verbose = $VERBOSE"

if ($VERBOSE)
then
	echo $1;
	if ! eval $1
	then
		echo "Failed command was:"
		echo $1
		echo "in directory " `pwd`
		exit 1
	fi
else
	if ! eval $1
	then
		echo "Failed command was:"
		echo $1
		echo "in directory " `pwd`
		exit 1
	fi
fi

exit 0