2016-09-14 09:26:05 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
checkout_if_exists() {
|
|
|
|
if [ -d $1 ]; then
|
|
|
|
pushd $1 >/dev/null
|
|
|
|
git checkout $2
|
|
|
|
popd >/dev/null
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
checkout_if_exists . $1
|
2019-09-12 14:38:30 +02:00
|
|
|
checkout_if_exists module/Monarc/Core $1
|
|
|
|
checkout_if_exists module/Monarc/BackOffice $1
|
|
|
|
checkout_if_exists module/Monarc/FrontOffice $1
|
2016-09-14 09:26:05 +02:00
|
|
|
checkout_if_exists node_modules/ng_backoffice $1
|
|
|
|
checkout_if_exists node_modules/ng_client $1
|
|
|
|
checkout_if_exists node_modules/ng_anr $1
|