Browse Source

No tidying backups

stockholm
Bob Mottram 2 years ago
parent
commit
d77a802e80
2 changed files with 0 additions and 4 deletions
  1. 0
    2
      Makefile
  2. 0
    2
      tidyup

+ 0
- 2
Makefile View File

@@ -13,7 +13,6 @@ alltranslations:
13 13
 	bash -c "./translate translations"
14 14
 tidyup:
15 15
 	./tidyup src/*
16
-	rm -f src/*~
17 16
 source:
18 17
 	tar -cvf ../${APP}_${VERSION}.orig.tar ../${APP}-${VERSION} --exclude-vcs
19 18
 	gzip -f9n ../${APP}_${VERSION}.orig.tar
@@ -63,7 +62,6 @@ uninstall:
63 62
 	bash -c "./translate uninstall"
64 63
 clean:
65 64
 	./tidyup src/*
66
-	rm -f src/*~
67 65
 	rm -f \#* \.#* debian/*.substvars debian/*.log
68 66
 	rm -fr deb.* debian/${APP}
69 67
 	rm -f ../${APP}*.deb ../${APP}*.changes ../${APP}*.asc ../${APP}*.dsc

+ 0
- 2
tidyup View File

@@ -139,8 +139,6 @@ class BeautifyBash:
139 139
       data = self.read_file(path)
140 140
       result,error = self.beautify_string(data,path)
141 141
       if(data != result):
142
-        # make a backup copy
143
-        self.write_file(path + '~',data)
144 142
         self.write_file(path,result)
145 143
     return error
146 144
 

Loading…
Cancel
Save