Skip to content

Commit

Permalink
fetch_translation_tools: 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 authored and pktpls committed Nov 22, 2023
1 parent 5766242 commit 0ef412c
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 0ef412c

Please sign in to comment.