No tidying backups
This commit is contained in:
parent
50fdd57933
commit
d77a802e80
2
Makefile
2
Makefile
|
@ -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
2
tidyup
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue