2009-08-26 13:13:36 +02:00
|
|
|
# sed scripts
|
|
|
|
|
|
|
|
#http://sourceforge.net/projects/webdruid/files/webdruid/0.6.0-alpha5/webdruid-0.6.0-alpha5.tar.gz/download
|
|
|
|
#http://downloads.sourceforge.net/webdruid/files/webdruid/0.6.0-alpha5/webdruid-0.6.0-alpha5.tar.gz
|
|
|
|
skipRedirectSF='s@^http://sourceforge.net/projects/@http://downloads.sourceforge.net/@; s@/download$@@'
|
|
|
|
extractReleaseSF='s@.*/([^/]+)/[^/]+@\1@'
|
2009-09-13 20:31:33 +02:00
|
|
|
|
|
|
|
replaceAllVersionOccurences() {
|
|
|
|
echo s/"$version"/\${version}/g
|
|
|
|
}
|
|
|
|
dashDelimitedVersion='s/.*-([0-9.]+)-.*/\1/'
|