diff --git a/server/repro/build.sh b/server/repro/build.sh index 5c46d98..80c4649 100755 --- a/server/repro/build.sh +++ b/server/repro/build.sh @@ -6,6 +6,18 @@ if [[ -z "${BUILD_PATH}" ]]; then exit 1 fi +rm -r env +mkdir env && de env +[[ $? -ne 0 ]] && { + echo "Failed to create the env" + exit 1 +} +cp -r ../../../git-teaspeak/default_files/{certs,commanddocs,geoloc,resources,*.sh} . +[[ $? -ne 0 ]] && { + echo "Failed to copy env" + exit 1 +} + ./generate_version.sh "${BUILD_PATH}" || { echo "Failed to generate version! ($?)" exit 1