diff --git a/build/setup.sh b/build/setup.sh index 864980d955..9edbc0b6e4 100755 --- a/build/setup.sh +++ b/build/setup.sh @@ -56,8 +56,8 @@ date=$(date +%Y%m%d) if [[ $(whoami) == "awips" ]]; then # local build mv dist/${os_version}-dev dist/${os_version}-dev-${date} - su - -c "createrepo -g ../comps.xml dist/${os_version}-dev" - sudo chown -R awips:fxalpha dist/${os_version}-dev + sudo su - -c "createrepo -g /awips2/repo/awips2/dist/comps.xml /awips2/repo/awips2/dist/${os_version}-dev-${date}/" + sudo chown -R awips:fxalpha dist/${os_version}-dev-${date} #repomanage -k1 --old dist/${os_version}-dev | xargs rm -f # # Push to web server