1
0

Enhance debugging

This commit is contained in:
Kyle M Hall 2019-12-18 13:26:02 -05:00
parent 4ff35de903
commit 4e03a4d84c

View File

@ -12,7 +12,7 @@ cp -r Koha dist/.
cd dist cd dist
PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tac | sed '1q;d') PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tac | sed '1q;d')
echo $(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tac ) echo "FIND: $(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tac )"
sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_MODULE} sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_MODULE}
sed -i -e "s/1900-01-01/${TODAY_ISO}/g" $PLUGIN_MODULE sed -i -e "s/1900-01-01/${TODAY_ISO}/g" $PLUGIN_MODULE