allow the path to xonotic.brand to come from XONOTIC_BRANDFILE
[xonotic/xonotic.git] / all
diff --git a/all b/all
index d5757dd249f1acdf7bb1111c2efa608172fb1c91..ba0fd468722a6a258ea1f5b179060b17f57f2c44 100755 (executable)
--- a/all
+++ b/all
@@ -953,7 +953,7 @@ case "$cmd" in
                        esac
                        # now rebrand the binaries...
                        for f in $targetfiles; do
-                               verbose "$d0/misc/tools/rebrand-darkplaces-engine.sh" "$d0/misc/tools/xonotic.brand" "${f##*:}" || true
+                               verbose "$d0/misc/tools/rebrand-darkplaces-engine.sh" "${XONOTIC_BRAND:-$d0/misc/tools/xonotic.brand}" "${f##*:}" || true
                        done
                fi
                ;;