Debian Codegraph @

arduino-core/src/processing/app/i18n/push.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 if [scip-shell system . . `[`. $0 != "./push.sh" ]; then
4 echoscip-shell system . . echo. "push.sh: Invoke this script as ./push.sh"
5 exit 1
6 fi
7
8 while [scip-shell system . . `[`. $# -gt 0 ]; do
9 if [scip-shell system . . `[`. $1 = '-a' ]; then
10 for f in Resources_*.po; do
11 f=$(exprscip-shell system . . expr. "$f" : "Resources_\(.*\).po")
12 langs="$langs $f"
13 done
14 else
15 langs="$langs $1"
16 fi
17 shift
18 done
19
20 if [scip-shell system . . `[`. "$langs" = "" ]; then
21 echoscip-shell system . . echo. "push.sh: Give at least one language code."
22 exit 1
23 fi
24
25 exec python python/push.py $langs