diff options
| author | 2019-11-22 02:14:25 +0530 | |
|---|---|---|
| committer | 2019-11-22 11:13:34 +0530 | |
| commit | 1cca9e4b72b106374f203890b266f18609deefe3 (patch) | |
| tree | 9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/transfer | |
| parent | ee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff) | |
| download | nnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz | |
shellcheck fixes
Diffstat (limited to 'plugins/transfer')
| -rwxr-xr-x | plugins/transfer | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/transfer b/plugins/transfer index 7201b0b..05992a3 100755 --- a/plugins/transfer +++ b/plugins/transfer @@ -7,9 +7,9 @@ if ! [ -z "$1" ]; then # Upload the file, show the download link and wait till user presses any key - curl -s --upload-file "$1" https://transfer.sh/`basename "$1"` + curl -s --upload-file "$1" https://transfer.sh/"$(basename "$1")" echo - read input + read -r _ # To write download link to "$1".loc and exit # curl -s --upload-file "$1" https://transfer.sh/`basename "$1"` -o `basename "$1"`.loc |