summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-06-22 15:14:21 +0000
committerJim Ramsay <lack@gentoo.org>2007-06-22 15:14:21 +0000
commita4ae43fc90fd5e4a4c39c4b8014e2765909f58a6 (patch)
tree62de80218574203b6d5f2057491bafcf536daefd
parentAdding missing patch for rox-2.6.1 (diff)
downloadrox-a4ae43fc90fd5e4a4c39c4b8014e2765909f58a6.tar.gz
rox-a4ae43fc90fd5e4a4c39c4b8014e2765909f58a6.tar.bz2
rox-a4ae43fc90fd5e4a4c39c4b8014e2765909f58a6.zip
Fixed url escaping function (really works now)
svn path=/trunk/overlay/; revision=13
-rw-r--r--eclass/0install.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/0install.eclass b/eclass/0install.eclass
index 857e2e4..e1bdd1f 100644
--- a/eclass/0install.eclass
+++ b/eclass/0install.eclass
@@ -20,8 +20,7 @@ ZEROINSTALL_STRIP_REQUIRES=""
# uri - The URI to escape
0install_escape_uri() {
local uri=${1}
- #uri=${uri//:/%3a}
- uri=${uri//\/#}
+ uri=${uri//\//#}
echo $uri
}