r2841 - trunk/src/host/devirginator
mickey at sita.openmoko.org
mickey at sita.openmoko.org
Tue Aug 28 13:54:21 CEST 2007
Author: mickey
Date: 2007-08-28 13:54:20 +0200 (Tue, 28 Aug 2007)
New Revision: 2841
Modified:
trunk/src/host/devirginator/setup.sh
Log:
devirginator/setup.sh: allow devirginator to understand that filenames can have '+' signs in them now when it tries to download them. patch by rwhitby
Modified: trunk/src/host/devirginator/setup.sh
===================================================================
--- trunk/src/host/devirginator/setup.sh 2007-08-28 10:58:23 UTC (rev 2840)
+++ trunk/src/host/devirginator/setup.sh 2007-08-28 11:54:20 UTC (rev 2841)
@@ -45,8 +45,8 @@
index=tmp/index-${SNAPSHOT}.html
rm -f $index
wget -O $index "`dirname \"$2\"`/"
- n="`basename \"$2\" | sed 's/*/[-a-zA-Z0-9_.]*/g'`"
- sed '/^.*[^-a-zA-Z0-9_.]\('"$n"'\)[^-a-zA-Z0-9_.].*$/s//\1/p;d' \
+ n="`basename \"$2\" | sed 's/*/[-a-zA-Z0-9_.+]*/g'`"
+ sed '/^.*[^-a-zA-Z0-9_.+]\('"$n"'\)[^-a-zA-Z0-9_.+].*$/s//\1/p;d' \
<$index >tmp/files
case `grep -c '' tmp/files` in
0) echo "not found: $2" 1>&2
More information about the commitlog
mailing list