Skip to content

Commit cc77fd8

Browse files
committed
Dropbox-Uploader Pull Request: Allow environment variable to specify config file
This is useful if you're calling dropbox_uploader.sh multiple times within a script. Ref: andreafabrizi/Dropbox-Uploader#133
1 parent e3a7d39 commit cc77fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/drop/dropbox_uploader.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121

2222
#Default configuration file
23-
CONFIG_FILE=~/.dropbox_uploader
23+
CONFIG_FILE=${DROPBOX_UPLOADER_CONFIG_FILE:-~/.dropbox_uploader}
2424

2525
#Default chunk size in Mb for the upload process
2626
#It is recommended to increase this value only if you have enough free space on your /tmp partition

0 commit comments

Comments
 (0)