From b6565079ee7ae59556d858179636f128483ece45 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 14 Feb 2019 14:58:04 -0800 Subject: [PATCH] Updating icon build paths Icon build scripts required relative paths. Updating to account for new depth. --- scripting/build_tools/mk_macos_icons.py | 18 +++++++++--------- scripting/build_tools/mk_mime_icons.py | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) mode change 100644 => 100755 scripting/build_tools/mk_mime_icons.py diff --git a/scripting/build_tools/mk_macos_icons.py b/scripting/build_tools/mk_macos_icons.py index f8e72549db..73fb4e8b72 100755 --- a/scripting/build_tools/mk_macos_icons.py +++ b/scripting/build_tools/mk_macos_icons.py @@ -9,17 +9,17 @@ import os from shutil import copy, rmtree from subprocess import call -ICON_SOURCES = "../bitmaps_png/sources/" +ICON_SOURCES = "../../bitmaps_png/sources/" ICONS = [ - ("bitmap2component", ("bitmap2component",), "../bitmap2component"), - ("cvpcb", ("cvpcb", "cvpcb_doc"), "../cvpcb"), - ("eeschema", ("eeschema", "eeschema_doc"), "../eeschema"), - ("gerbview", ("gerbview", "gerbview_doc"), "../gerbview"), - ("kicad", ("kicad", "kicad_doc"), "../kicad"), - ("pagelayout_editor", ("pl_editor", "pl_editor_doc"), "../pagelayout_editor"), - ("pcbcalculator", ("pcb_calculator",), "../pcb_calculator"), - ("pcbnew", ("pcbnew", "pcbnew_doc"), "../pcbnew") + ("bitmap2component", ("bitmap2component",), "../../bitmap2component"), + ("cvpcb", ("cvpcb", "cvpcb_doc"), "../../cvpcb"), + ("eeschema", ("eeschema", "eeschema_doc"), "../../eeschema"), + ("gerbview", ("gerbview", "gerbview_doc"), "../../gerbview"), + ("kicad", ("kicad", "kicad_doc"), "../../kicad"), + ("pagelayout_editor", ("pl_editor", "pl_editor_doc"), "../../pagelayout_editor"), + ("pcbcalculator", ("pcb_calculator",), "../../pcb_calculator"), + ("pcbnew", ("pcbnew", "pcbnew_doc"), "../../pcbnew") ] SIZES = [ diff --git a/scripting/build_tools/mk_mime_icons.py b/scripting/build_tools/mk_mime_icons.py old mode 100644 new mode 100755 index 96e6653e50..4730327366 --- a/scripting/build_tools/mk_mime_icons.py +++ b/scripting/build_tools/mk_mime_icons.py @@ -11,8 +11,8 @@ import xml.etree.ElementTree as ET from shutil import copyfile, rmtree from subprocess import call -ICON_SOURCES = "../bitmaps_png/sources/" -DEST_FOLDER = "../resources/linux/mime" +ICON_SOURCES = "../../bitmaps_png/sources/" +DEST_FOLDER = "../../resources/linux/mime" def icon_sourcename(icon): return ICON_SOURCES+"/icon_%s.svg" % icon