summaryrefslogtreecommitdiff
path: root/utils/file2base
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-30 02:16:39 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-30 02:16:39 -0400
commit2d14c67c743b7cf456bf0a2d7650e24fcbbca261 (patch)
treec247eea818d37e980a3eedba4ec1df6134a01845 /utils/file2base
parenta116f3f2bdebc24d16743c53cd738f62a56f4787 (diff)
allow subdirectories in tarballs to be specified as the extra component
Diffstat (limited to 'utils/file2base')
-rwxr-xr-xutils/file2base6
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}"