Skip to content

Commit

Permalink
Fix more missing HOME references
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Page <admwiggin@gmail.com>
  • Loading branch information
tianon committed Oct 16, 2014
1 parent 2eb9c0b commit d040de6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ EOF
done

# Upload keys
s3cmd sync /.gnupg/ s3://$BUCKET/ubuntu/.gnupg/
s3cmd sync $HOME/.gnupg/ s3://$BUCKET/ubuntu/.gnupg/
gpg --armor --export releasedocker > bundles/$VERSION/ubuntu/gpg
s3cmd --acl-public put bundles/$VERSION/ubuntu/gpg s3://$BUCKET/gpg

Expand Down Expand Up @@ -355,8 +355,8 @@ release_test() {

setup_gpg() {
# Make sure that we have our keys
mkdir -p /.gnupg/
s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ /.gnupg/ || true
mkdir -p $HOME/.gnupg/
s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ $HOME/.gnupg/ || true
gpg --list-keys releasedocker >/dev/null || {
gpg --gen-key --batch <<EOF
Key-Type: RSA
Expand Down

0 comments on commit d040de6

Please sign in to comment.