Skip to content

Commit

Permalink
Storing the PSL in the same place where it would be cached when
Browse files Browse the repository at this point in the history
running locally
  • Loading branch information
jsf9k committed Mar 30, 2018
1 parent 58b1063 commit c088cb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pshtt/build_pshtt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ deactivate
###
BUILD_DIR=/build
mkdir -p $BUILD_DIR/bin
mkdir -p $BUILD_DIR/cache

###
# Copy all packages, including any hidden dotfiles. Also copy the
Expand All @@ -49,7 +50,7 @@ cp $VENV_DIR/bin/pshtt $BUILD_DIR/bin
###
# Copy in a snapshot of the public suffix list in text form
###
wget -O $BUILD_DIR/public-suffix-list.txt \
wget -O $BUILD_DIR/cache/public-suffix-list.txt \
https://publicsuffix.org/list/public_suffix_list.dat

###
Expand Down
3 changes: 2 additions & 1 deletion trustymail/build_trustymail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ deactivate
###
BUILD_DIR=/build
mkdir -p $BUILD_DIR/bin
mkdir -p $BUILD_DIR/cache

###
# Copy all packages, including any hidden dotfiles. Also copy the
Expand All @@ -46,7 +47,7 @@ cp $VENV_DIR/bin/trustymail $BUILD_DIR/bin
###
# Copy in a snapshot of the public suffix list in text form
###
wget -O $BUILD_DIR/public-suffix-list.txt \
wget -O $BUILD_DIR/cache/public-suffix-list.txt \
https://publicsuffix.org/list/public_suffix_list.dat

###
Expand Down

0 comments on commit c088cb3

Please sign in to comment.