Commit 8500958b authored by guiu.rocafort.ferrer's avatar guiu.rocafort.ferrer

Issue #3086993 by guiu.rocafort.ferrer: Allow to build subset of languages from console

parent 01d50888
#!/usr/bin/env bash
# This script builds all the mk scripts for the different types of docs.
# Usage: ./ version [ lang1 lang2 lang3 ]
# Example: ./ 8.x-7.1 es ca de
# Exit immediately on uninitialized variable or error, and print each command.
set -uex
if [[ $# -lt 1 ]]; then
echo "You must specify at least one parameter indicating the version"
echo "# Usage: ./ version [ lang1 lang2 lang3 ]"
echo "# Example: ./ 8.x-7.1 es ca de"
exit -1
if [[ $# -gt 1 ]]; then
echo "Building specified languages in parameters"
langs=${@:2} # This gets all the parameters except the first one ( version )
echo "Building all languages in languages.txt"
langs="$(cat ../scripts/languages.txt)"
./ $langs
./ $langs
./ $langs
./ $1 $langs
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment