Debian Codegraph @

debian/patches/sfd2ttf2master-Convert-path-separator.patch

raw symbols SCIP
1 Fromscip-debian debian fonts-mikhak 3.4+ds-1 fonts-mikhak/patches/`sfd2ttf2master-Convert-path-separator.patch`#From.: Bastian Germann <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian fonts-mikhak 3.4+ds-1 fonts-mikhak/patches/`sfd2ttf2master-Convert-path-separator.patch`#Date.: Tue, 9 Sep 2025 22:28:43 +0200
3 Subjectscip-debian debian fonts-mikhak 3.4+ds-1 fonts-mikhak/patches/`sfd2ttf2master-Convert-path-separator.patch`#Subject.: sfd2ttf2master: Convert path separator
4
5 ---
6 --- a/scripts/sfd2ttf2master_ttfFolder.pyscip-debian debian fonts-mikhak 3.4+ds-1 fonts-mikhak/upstream/`scripts/sfd2ttf2master_ttfFolder.py`:
7 +++ b/scripts/sfd2ttf2master_ttfFolder.pyscip-debian debian fonts-mikhak 3.4+ds-1 fonts-mikhak/upstream/`scripts/sfd2ttf2master_ttfFolder.py`:
8 @@ -8,12 +8,12 @@ for file in os.listdir():
9 font = fontforge.open(file)
10 font.generate(os.path.splitext(file)[0]+".ttf")
11
12 -if not path.exists(os.getcwd() + "\master_ttf"):
13 - os.mkdir(os.getcwd() + "\master_ttf")
14 +if not path.exists(os.getcwd() + "/master_ttf"):
15 + os.mkdir(os.getcwd() + "/master_ttf")
16
17 sourcepath = os.getcwd()
18 sourcefiles = os.listdir(sourcepath)
19 -destinationpath = os.getcwd() + "\master_ttf"
20 +destinationpath = os.getcwd() + "/master_ttf"
21 for file in sourcefiles:
22 if file.endswith('.ttf'):
23 shutil.move(os.path.join(sourcepath,file), os.path.join(destinationpath,file))