api-site/tools/mv-firstapp-trans.sh
Andreas Jaeger 8fa4937999 Fix typo in tox.ini
The last change had a typo in the job invocation, fix it.
Remove ls, the job output showed the content is available as expected.
Fix also permissions on shell script.

Change-Id: I4ef65188ccdeebf59cc684f2de99c2198c0c3127
2017-09-14 21:24:18 +02:00

15 lines
327 B
Bash
Executable File

#!/bin/bash -xe
LANGDIR=$1
if [[ -z "$LANGDIR" ]] ; then
echo "usage $0 language"
exit 1
fi
# Move all firstapp files for one language into the api-ref directory
# since that directory is used for publishing.
mkdir -p publish-docs/api-ref/$LANGDIR/
mv publish-docs/$LANGDIR/firstapp* publish-docs/api-ref/$LANGDIR/