From c3add10fe87cc2a2a33de3bbf5f5eafc4ef7a8f4 Mon Sep 17 00:00:00 2001 From: Simon Doppler Date: Sat, 14 Oct 2017 13:57:23 +0200 Subject: Run shellcheck --- al32-mktorrent.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index 45ba288..3049514 100644 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -30,7 +30,7 @@ MIRRORLIST_FILE="https://raw.githubusercontent.com/archlinux32/packages/master/c function cleanup () { echo -n -e "$fg_reset${fg_bold}Cleaning up directory...$fg_reset " - rm -f *.sig *.torrent *.rss sha512sums + rm -f ./*.sig ./*.torrent ./*.rss sha512sums } function create_torrent_for_arch () { @@ -97,7 +97,7 @@ function create_torrent_for_arch () { function upload_file_to_remote_dir { if [ -f "$1" ] && [ -n "$2" ] ; then - echo -e "$fg_reset${fg_bold}Uploading file$fg_reset "${fg_blue}$1$fg_reset" ${fg_bold}to$fg_reset "${fg_blue}$1$fg_reset" $fg_bold...$fg_reset" + echo -e "$fg_reset${fg_bold}Uploading file$fg_reset ${fg_blue}$1$fg_reset ${fg_bold}to$fg_reset ${fg_blue}$1$fg_reset $fg_bold...$fg_reset" scp "$1" "$2" fi } -- cgit v1.2.3