diff --git a/src/main/scripts/cdpd-patcher b/src/main/scripts/cdpd-patcher index b5a6abc..6ae975e 100755 --- a/src/main/scripts/cdpd-patcher +++ b/src/main/scripts/cdpd-patcher @@ -42,7 +42,7 @@ patch_url="`cat $tmp | jq -r .centos7.patch_url`" wget -nv -O $tmp "${patch_url}/${COMPONENT}-source.patch" || wget -nv -O $tmp "${patch_url}/dag_build/${COMPONENT}-source.patch" -git apply -p1 -C0 $tmp +git apply -p1 -C0 $tmp || git apply -3 -p1 -C0 $tmp if [[ "$build" < "7.2.1" ]];then sed -i "s/pig.version>0.16.0.*0.16.0.${build}" pom.xml else diff --git a/src/main/scripts/look_for_class b/src/main/scripts/look_for_class new file mode 100755 index 0000000..9278682 --- /dev/null +++ b/src/main/scripts/look_for_class @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + + +[ "$#" -lt 2 ] && echo -e "usage:\n $0