Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Doppler <dopsi@dopsi.ch>2017-10-14 13:57:23 +0200
committerSimon Doppler <dopsi@dopsi.ch>2017-10-14 13:57:23 +0200
commitc3add10fe87cc2a2a33de3bbf5f5eafc4ef7a8f4 (patch)
treea8f7b0b3beb13164696ddf9067475db2db30510d
parent9800ba434829ec3f782c4c8ed1ee7faa6d240dae (diff)
Run shellcheck
-rw-r--r--al32-mktorrent.sh4
1 files 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
}