FIx the icon changing.
[xonotic/xonotic.git] / misc / tools / all / release.subr
index 559e026af64148edd61c2f1cf41f0eabe4a3dde8..ffb6f5842f33e4c7681511a918a442a89e06c5ad 100644 (file)
@@ -212,7 +212,7 @@ case "$cmd" in
                # TODO eventually do the rebranding on travis too.
                case "$binary" in
                        Xonotic/xonotic*.exe)
-                               verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "${f##*:}"
+                               verbose "$d0/misc/tools/change-icon-of-exe.sh" "$d0/misc/logos/icons_ico/xonotic.ico" "$binary"
                                ;;
                esac
                ;;