Permalink
Browse files

Crash early.

  • Loading branch information...
1 parent 2890bab commit 5f57ad8d5f8734d4f7495dfc9878442fe623a9cf @yipdw yipdw committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 get_one.sh
View
@@ -15,7 +15,7 @@ mkdir -p $CACHE
# Note: the warc2warc bit decompresses improperly compressed CSS from
# b.fanfiction.net. warc2warc -D also removes chunking, which isn't strictly
# necessary, but doesn't seem to be that harmful.
-set -x
+set -xe
cd $CACHE && \
$WGET_WARC \
-U "$USER_AGENT" \
@@ -36,4 +36,4 @@ $WGET_WARC \
cd - && rm -rf $CACHE && \
$WARC2WARC -Z -D $DIR/$USERID.warc.gz > $DIR/$USERID.cooked.warc.gz
-set +x
+set +xe

0 comments on commit 5f57ad8

Please sign in to comment.