diff --git a/gradint-build/Makefile b/gradint-build/Makefile index 1ab5f07b21c7451d3d64b64551954a434915c003..45dd9f1d971e1af2219c6dad824a6800295bc94f 100644 --- a/gradint-build/Makefile +++ b/gradint-build/Makefile @@ -22,7 +22,7 @@ Extra_Data=partials *_disabled [^g]*.exe # Unix_To_Dos=unix2dos -k -o -q # (keep date, run quietly) Unix_To_Dos=unix2dos # (-k -o -q are not recognised on all systems) -All_Versions=gradint.exe gradint.tbz gradint.bgz gradint.zip gradint-build.bgz gradintcab.zip gradint-S60.zip +All_Versions=gradint-build.bgz gradint.exe gradint.tbz gradint.bgz gradint.zip gradintcab.zip gradint-S60.zip # dropping gradint-noGUI.exe and GUI.exe for now - probably don't need that separation anymore SHELL=/bin/bash diff --git a/gradint-build/src/system.py b/gradint-build/src/system.py index 31faf74fb844060df4cc955da74fde3302e5b0e0..7a59fe3c6514803293c8d34c1737838d0a31f94c 100644 --- a/gradint-build/src/system.py +++ b/gradint-build/src/system.py @@ -101,8 +101,10 @@ dotwav = extsep+"wav" ; dotmp3 = extsep+"mp3" ; dottxt = extsep+"txt" cwd_addSep = os.sep if os.getcwd()[-1]==os.sep: cwd_addSep = "" -def list2set(l): - d = {} # (dictionary rather than set for max backward-compatibility) +try: list2set = set +except NameError: + def list2set(l): + d = {} for i in l: d[i]=True return d