diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-30 02:16:39 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-05-30 02:16:39 -0400 |
commit | 2d14c67c743b7cf456bf0a2d7650e24fcbbca261 (patch) | |
tree | c247eea818d37e980a3eedba4ec1df6134a01845 /utils/file2base | |
parent | a116f3f2bdebc24d16743c53cd738f62a56f4787 (diff) |
allow subdirectories in tarballs to be specified as the extra component
Diffstat (limited to 'utils/file2base')
-rwxr-xr-x | utils/file2base | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/utils/file2base b/utils/file2base index 17951e0..616bbbf 100755 --- a/utils/file2base +++ b/utils/file2base @@ -1,9 +1,5 @@ #!/usr/bin/env bash IFS=/ read -r type url extra <<<"$*" -case "$type" in - git) :;; - svn) :;; - tar) url=${url}/${extra};; -esac + echo "${type}/${url}" |