Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit e678603

Browse files
committed
Workaround: bash oddity HOSTNAME is defined but not exported
1 parent f279370 commit e678603

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/install_new_image.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ if [[ $PWD != */production ]]; then
99
exit
1010
fi
1111

12+
export HOSTNAME=$HOSTNAME
13+
1214
# pull the latest
1315
git pull
1416
docker pull registry.digitalocean.com/runestone-registry/production_server:latest

0 commit comments

Comments
 (0)