andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.56k stars 1.08k forks source link

Declared the correct variable scope and make them readable and other stuff. #549

Closed arafatx closed 3 years ago

arafatx commented 3 years ago

Fixed missing global and local variable. Declared the correct scope for the global and local variables and use the correct name convention in bash. Global variable is UPPERCASE, local variable should be LOWERCASE

Use (( X )) instead of 'let X' to evaluate expression. This is more portable

Added extra config file test for valid source syntax

Fixed some spelling errors and output

The code is now easy to read.