index : releng | |
Archlinux32 release engineering | gitolite user |
summaryrefslogtreecommitdiff |
author | Simon Doppler <dopsi@dopsi.ch> | 2017-10-14 13:57:23 +0200 |
---|---|---|
committer | Simon Doppler <dopsi@dopsi.ch> | 2017-10-14 13:57:23 +0200 |
commit | c3add10fe87cc2a2a33de3bbf5f5eafc4ef7a8f4 (patch) | |
tree | a8f7b0b3beb13164696ddf9067475db2db30510d /al32-mktorrent.sh | |
parent | 9800ba434829ec3f782c4c8ed1ee7faa6d240dae (diff) |
-rw-r--r-- | al32-mktorrent.sh | 4 |
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 } |