Skip to content

Commit

Permalink
Fix blank output/README.md bug (#275)
Browse files Browse the repository at this point in the history
Affects gh-pages branch only.

Fixed to allow reading from and writing to the same file.
See http://stackoverflow.com/a/3897483/4651668

Bug introduced in greenelab/deep-review#274.
  • Loading branch information
dhimmel authored Mar 4, 2017
1 parent 3b763ff commit 2d589e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
set -o errexit

# Add commit hash to the README
envsubst < output/README.md > output/README.md
envsubst < output/README.md > output/README-complete.md
mv output/README-complete.md output/README.md

# Generate OpenTimestamps
python ci/opentimestamps-client/ots stamp \
Expand Down

0 comments on commit 2d589e4

Please sign in to comment.