Skip to content

Commit

Permalink
fetch_translation_tools.sh: fix shellcheck issues
Browse files Browse the repository at this point in the history
This commit fixes some shellcheck issues in the mentioned script.
It precedes #315.

Signed-off-by: Martin Hübner <martin.hubner@web.de>
  • Loading branch information
Akira25 committed Feb 6, 2023
1 parent b2a8bb5 commit d65d700
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fetch_translation_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

# fetch the translation-tools from the luci repo

LUCI_REPO="https://github.com/openwrt/luci.git"
LUCI_ZIP="https://github.com/openwrt/luci/archive/refs/heads/master.zip"

DIR="_tmp_"

git clean -df build/
mkdir $DIR
cd $DIR
wget "$LUCI_ZIP"
unzip "master.zip"
mv luci-master/build/* ../build
cd ..
(
cd $DIR || exit 2
wget "$LUCI_ZIP"
unzip "master.zip"
mv luci-master/build ..
)
rm -rf $DIR

0 comments on commit d65d700

Please sign in to comment.