diff --git a/baseimage/createImage b/baseimage/createImage index 4305ebfd7..9e8b2c1f2 100755 --- a/baseimage/createImage +++ b/baseimage/createImage @@ -138,7 +138,7 @@ while true; do done echo "Copying INFRA_VERSION" -$scp22 "${SCRIPT_DIR}/../setup/INFRA_VERSION" root@${server_ip}:. +$scp22 "${SCRIPT_DIR}/../src/INFRA_VERSION" root@${server_ip}:. echo "Copying box source" cd "${SOURCE_DIR}" diff --git a/setup/splashpage.sh b/setup/splashpage.sh index 9dacb0915..104486690 100755 --- a/setup/splashpage.sh +++ b/setup/splashpage.sh @@ -9,7 +9,7 @@ readonly BOX_SRC_DIR="/home/yellowtent/box" readonly DATA_DIR="/home/yellowtent/data" readonly ADMIN_LOCATION="my" # keep this in sync with constants.js -source "${script_dir}/INFRA_VERSION" # this injects INFRA_VERSION +source "${script_dir}/../src/INFRA_VERSION" # this injects INFRA_VERSION echo "Setting up nginx update page"