Merge pull request #8606 from tianon/release-home

Fix more missing HOME references
This commit is contained in:
Michael Crosby 2014-10-16 12:12:38 -07:00
Родитель c3237cc9d8 d040de6dd4
Коммит 40a6461d16
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -270,7 +270,7 @@ EOF
done done
# Upload keys # 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 gpg --armor --export releasedocker > bundles/$VERSION/ubuntu/gpg
s3cmd --acl-public put bundles/$VERSION/ubuntu/gpg s3://$BUCKET/gpg s3cmd --acl-public put bundles/$VERSION/ubuntu/gpg s3://$BUCKET/gpg
@ -355,8 +355,8 @@ release_test() {
setup_gpg() { setup_gpg() {
# Make sure that we have our keys # Make sure that we have our keys
mkdir -p /.gnupg/ mkdir -p $HOME/.gnupg/
s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ /.gnupg/ || true s3cmd sync s3://$BUCKET/ubuntu/.gnupg/ $HOME/.gnupg/ || true
gpg --list-keys releasedocker >/dev/null || { gpg --list-keys releasedocker >/dev/null || {
gpg --gen-key --batch <<EOF gpg --gen-key --batch <<EOF
Key-Type: RSA Key-Type: RSA