Removed now useless script.

pull/202/head
Cédric Bonhomme 2019-11-11 14:44:35 +01:00
parent d4b32b1c16
commit eee4f164e0
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
2 changed files with 0 additions and 31 deletions

View File

@ -1,13 +0,0 @@
# ./get_deliverable.sh <token> <anr_id> <model_id>
clear
echo "======"
echo http://monarcfo/api/client-anr/$2/deliverable?model=$3
echo "======"
curl -H "Token: $1" http://monarcfo/api/client-anr/$2/deliverable?model=$3 > /tmp/exported.docx 2>/dev/null
if grep "errors" /tmp/exported.docx; then
cat /tmp/exported.docx
fi
echo ""

View File

@ -1,18 +0,0 @@
#!/bin/bash
oldurl_if_exists() {
if [ -d $1 ]; then
pushd $1 >/dev/null
sed -i -e 's/CASES-LU/monarc-project/g' ./.git/config $2
git config core.fileMode false
popd >/dev/nul
fi
}
oldurl_if_exists . $1
oldurl_if_exists module/Monarc/Core $1
oldurl_if_exists module/Monarc/BackOffice $1
oldurl_if_exists module/Monarc/FrontOffice $1
oldurl_if_exists node_modules/ng_client $1
oldurl_if_exists node_modules/ng_anr $1