# HG changeset patch # User jodogne # Date 1349533177 -7200 # Node ID 5133cfc8db86fc50419f2c4c191e07633955b44d # Parent 2a24f43d9dca6c55e1502ddebc236810406df97d fix standalone build diff -r 2a24f43d9dca -r 5133cfc8db86 OrthancExplorer/images/Unsupported.png Binary file OrthancExplorer/images/Unsupported.png has changed diff -r 2a24f43d9dca -r 5133cfc8db86 OrthancExplorer/images/unsupported.png Binary file OrthancExplorer/images/unsupported.png has changed diff -r 2a24f43d9dca -r 5133cfc8db86 OrthancServer/OrthancRestApi.cpp --- a/OrthancServer/OrthancRestApi.cpp Fri Oct 05 17:49:50 2012 +0200 +++ b/OrthancServer/OrthancRestApi.cpp Sat Oct 06 16:19:37 2012 +0200 @@ -661,7 +661,7 @@ root += "../"; } - output.Redirect(root + "app/images/Unsupported.png"); + output.Redirect(root + "app/images/unsupported.png"); return; } } diff -r 2a24f43d9dca -r 5133cfc8db86 Resources/EmbedResources.py --- a/Resources/EmbedResources.py Fri Oct 05 17:49:50 2012 +0200 +++ b/Resources/EmbedResources.py Sat Oct 06 16:19:37 2012 +0200 @@ -2,6 +2,7 @@ import os import os.path import pprint +import re if len(sys.argv) < 2 or len(sys.argv) % 2 != 0: print ('Usage:') @@ -20,6 +21,10 @@ ## Read each resource file ##################################################################### +def CheckNoUpcase(s): + if re.search('[A-Z]', s) != None: + raise Exception("Path in a directory with an upcase letter: %s" % s) + resources = {} counter = 0 @@ -42,10 +47,11 @@ for f in files: if f.find('~') == -1: # Ignore Emacs backup files if base == '.': - r = f.lower() + r = f else: - r = os.path.join(base, f).lower() + r = os.path.join(base, f) + CheckNoUpcase(r) r = '/' + r.replace('\\', '/') if r in content: raise Exception("Twice the same filename (check case): " + r)