From e61a3fae9cf1ec1dbcc19f503e009ad188d3ff6c Mon Sep 17 00:00:00 2001 From: Andy Bauer Date: Tue, 7 Mar 2017 14:44:53 -0600 Subject: [PATCH] always delete then recreate Crud folder for redhat builds --- utils/packpack/startpackpack.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index b74621c6f..fa349f164 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -156,10 +156,8 @@ if [ "${TRAVIS_EVENT_TYPE}" == "cron" ] || [ "${TRAVIS}" != "true" ]; then ln -sf distros/redhat rpm # The rpm specfile requires the Crud submodule folder to be empty - if [ -e "web/api/app/Plugin/Crud/LICENSE.txt" ]; then - rm -rf web/api/app/Plugin/Crud - mkdir web/api/app/Plugin/Crud - fi + rm -rf web/api/app/Plugin/Crud + mkdir web/api/app/Plugin/Crud if [ "${OS}" == "el" ]; then zmrepodistro=${OS}