more issues with renaming

master
Tobi Sim 2015-02-21 16:09:22 +01:00
parent 706fe0011f
commit 97a6a6924d
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def replaceInFile(oldname,newname,filename):
maketxt=makefile.read()
makefile.close()
makefile=open(filename,"w")
makefile.write(re.sub("Appname:="+oldname,"Appname:="+newname,maketxt))
makefile.write(re.sub(oldname,newname,maketxt))
makefile.close()
for filename in ["./Makefile","./dat/"+newname+".desktop"]: