No tidying backups

This commit is contained in:
Bob Mottram 2016-07-24 14:35:46 +01:00
parent 50fdd57933
commit d77a802e80
2 changed files with 0 additions and 4 deletions

View File

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

2
tidyup
View File

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