c61fcb9357236b7aa3fdd75a8cf33dc8a42ddcf6 galt Wed Oct 2 12:49:17 2013 -0700 minor improvement to preserve the timestamp when copying the executable to hgwbeta diff --git src/hg/qaPushQ/makefile src/hg/qaPushQ/makefile index 6648262..6674958 100644 --- src/hg/qaPushQ/makefile +++ src/hg/qaPushQ/makefile @@ -32,20 +32,20 @@ sed -e 's/\"/\\\"/g' formPushQ.html | gawk '{ print "\"" $$0 "\\n\"" }' >> formPushQ.h echo ";" >> formPushQ.h $O: pushQ.h formPushQ.h ../inc/versionInfo.h backup: clean date +%Y-%m-%d-%H-%M | gawk '{printf("zip -r $(A)%s.zip *\n",$$1);}' > tempX chmod 755 tempX ./tempX rm tempX scp *.zip screech:/scratch/backups/ rm *.zip push: - scp $(APACHE)/cgi-bin/$(A) qateam@hgwbeta:$(APACHE)/cgi-bin/ + scp -p $(APACHE)/cgi-bin/$(A) qateam@hgwbeta:$(APACHE)/cgi-bin/ clean:: rm -f formPushQ.h $(A) rm -f pushQ.o