diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-10-24 16:16:16 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-10-24 16:16:16 -0300 |
commit | 3b3429157c177beea21691d5136fa4a9b8d2eef1 (patch) | |
tree | 9640342f6260c1e815748171f4fa030ce402572a /tuf-stuff.sh | |
parent | 5edb0fb980224f8b60e1627930dc8a3c0a0bbb88 (diff) |
Include TUF scripts in this repo.
Originally they were in the bitmask_client repo.
Diffstat (limited to 'tuf-stuff.sh')
-rwxr-xr-x | tuf-stuff.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tuf-stuff.sh b/tuf-stuff.sh index 8aa83ec..63c215f 100755 --- a/tuf-stuff.sh +++ b/tuf-stuff.sh @@ -109,7 +109,15 @@ do_init(){ VENVDIR=$WORKDIR/tuf.venv BITMASK="Bitmask-linux$ARCH-$VERSION" - RELEASE=$BASE/../bitmask_client/pkg/tuf/release.py + RELEASE=$BASE/release.py + + if [[ ! -f $RELEASE ]]; then + echo "ERROR: you need to copy the release.py file into this directory." + fi + + if [[ ! -f $KEY_FILE ]]; then + echo "ERROR: the specified key file does not exist." + fi # Initialize path mkdir -p $WORKDIR |