allow the path to xonotic.brand to come from XONOTIC_BRANDFILE
[xonotic/xonotic.git] / misc / tools / rebrand-darkplaces-engine.sh
index 8208d4841f01836b1e74cae04fdca92de7d9420d..6f6a76921336aa9b810ee8cde9b0ec8c88f36992 100755 (executable)
@@ -11,6 +11,10 @@ icon_icns=Darkplaces.app/Contents/Resources/Darkplaces.icns
 icon_ico=darkplaces.ico
 icon_xpm=darkplaces.xpm
 
+if [ -z "$1" ]; then
+       echo "Usage: $0 brandfile binaries..."
+       exit
+fi
 . "$1"; shift
 
 d=`pwd`