Commit 495503d8 authored by Benoit Mortier's avatar Benoit Mortier

🚑 fix(script): Adapt locales scripts to be used into the gitlab-ci

Signed-off-by: Benoit Mortier's avatarBenoit Mortier <benoit.mortier@opensides.be>
parent 8f09f0b9
#!/bin/sh
SRC_DIR="/home/bmortier/develop/projects/fusiondirectory/"
TOOL_DIR="/home/bmortier/scripts/fusiondirectory-update-locale"
PLUGIN_DIR="fusiondirectory-plugins"
CORE_DIR="fusiondirectory"
CONTRIB_DIR="contrib/bin"
TOOL_DIR="../dev-tools/locale-scripts/fusiondirectory-update-locale-plugins"
## DONT CHANGE ANYTHING AFTER THIS LINE ##
echo 'this will update the locales of all the plugins situated in '$SRC_DIR/$PLUGIN_DIR
cd $SRC_DIR/$PLUGIN_DIR/
for locale in `ls -1 | grep -v README.md | grep -v CODE_OF_CONDUCT.md | grep -v CONTRIBUTING.md | grep -v LICENSE`; do
cd $locale;
sh $TOOL_DIR -g || exit "$?";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment