Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If fb is used in a cronjob we don't care
about the progress bar.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Seems like wc -c $file doesn't return "0 $file" on Darwin. wc -c <
$file is simpler because it doesn't need cut and works fine, so we just
use that.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
echo is inconsistent across different platforms and this also removes an unneeded fork.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The echo builtin on darwin doesn't support any options and will output
them.
References:
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/echo.1.html
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This allows users to easily install to /usr/local, instead of forcing
them to change 3 variables.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
No point in uploading a really empty file and it might even cause
confusion to see an empty page when clicking the link.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
CFLAGS=-O0 make; will still work as expected
make CFLAGS=-O0; allows to completely override the flags, ignoring what
is set in the makefile.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
%b returns blocks, but we want bytes (%z)
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
9000 hours is just over one year and probably nobody is ever going to
hit this.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
- reorder options alphabetically
- remove BUGS section since it doesn't apply any more
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Conflicts:
Makefile
fb.pod
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
busybox sh doesn't have it and will now display an error.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This makes the main script able to run alone again.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The server will decode this and use it instead of the filename sent with
the file itself.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Reported-by: Moritz Wilhelmy <moritz+git@wzff.de>
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This allows us to have more than one helper file
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Using the bash helper can be forced by running "make LIBCURL=".
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
These will come in handy once -t supports bundling downloaded files (URL
as an argument instead of a file).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If the upload failed and the user supplied multiple URLs, we will find
those on the next run and try to upload them again.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|