summaryrefslogtreecommitdiff
path: root/hib-dlagent
diff options
context:
space:
mode:
authorThomas Riccardi <riccardi.thomas@gmail.com>2013-06-09 01:13:42 +0200
committerThomas Riccardi <riccardi.thomas@gmail.com>2013-06-09 01:15:19 +0200
commit4eb10093fb95e9e75f2e89aec2a912c7c8990952 (patch)
tree66e9558c147472116951f2abb3ef1682248771b1 /hib-dlagent
parentc24e99bf368e9d9dd4d89904ba0c8de54c8c2eed (diff)
downloadhib-dlagent-4eb10093fb95e9e75f2e89aec2a912c7c8990952.tar.gz
hib-dlagent-4eb10093fb95e9e75f2e89aec2a912c7c8990952.zip
Accept hib:// scheme for file
Diffstat (limited to 'hib-dlagent')
-rwxr-xr-xhib-dlagent2
1 files changed, 1 insertions, 1 deletions
diff --git a/hib-dlagent b/hib-dlagent
index 1d94ac7..e575123 100755
--- a/hib-dlagent
+++ b/hib-dlagent
@@ -92,7 +92,7 @@ main() {
fi
COOKIE_JAR=$(mktemp)
- FILE="$1"
+ FILE="${1#hib://}"
if [ -z "$DESTINATION" ]; then
DESTINATION="${FILE##*/}"