aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-18 10:19:51 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-06-18 10:19:51 +0000
commit9cad12caedb71f007cf33aefa70bea160f9364e3 (patch)
tree1b78da4b8cba02ec3a3f55c968e1bbf5b0334515
parent358bac760567b54ad9c43684c3f12c778499f5da (diff)
downloadpaludis-9cad12caedb71f007cf33aefa70bea160f9364e3.tar.gz
paludis-9cad12caedb71f007cf33aefa70bea160f9364e3.tar.xz
Make file:/// fetching work
-rwxr-xr-xebuild/fetchers/dofile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ebuild/fetchers/dofile b/ebuild/fetchers/dofile
index 80ecbf2..fd3e54b 100755
--- a/ebuild/fetchers/dofile
+++ b/ebuild/fetchers/dofile
@@ -1,6 +1,6 @@
#!/bin/bash
-shopt +s extglob
-echo cp "/${1#file:+(/)}" "${2}" 1>&2
-cp "/${1#file:+(/)}" "${2}"
+shopt -s extglob
+echo cp "/${1##file:+(/)}" "${2}" 1>&2
+cp "/${1##file:+(/)}" "${2}"