From dc76a876a12a8e0425c71a79cb092ee3444efa61 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 17 Feb 2017 07:07:17 -0600 Subject: [PATCH] packpack rpm specfile - ensure Crud submodule folder is empty --- utils/packpack/startpackpack.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index 0956c99a8..fc0bbb586 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -52,6 +52,12 @@ if [ "${OS}" == "el" ] || [ "${OS}" == "fedora" ]; then #patch -p1 < utils/packpack/autosetup.patch 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 + if [ "${OS}" == "el" ]; then zmrepodistro=${OS} else