changeset 724:3ccce25660f4

Make MANIFEST generation less brittle.
author Rob Landley <rob@landley.net>
date Tue, 28 Apr 2009 04:08:11 -0500
parents c0a992ba6caf
children 1645af9db5f8
files sources/functions.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/functions.sh	Mon Apr 27 04:30:52 2009 -0500
+++ b/sources/functions.sh	Tue Apr 28 04:08:11 2009 -0500
@@ -366,7 +366,7 @@
 
 function get_download_version()
 {
-  getversion $(sed -n 's@URL=.*/\(.[^ ]*\).*@\1@p' download.sh | grep ${1}-)
+  getversion $(sed -n 's@URL=.*/\(.[^ ]*\).*@\1@p' "$TOP/download.sh" | grep ${1}-)
 }
 
 # Identify subversion or mercurial revision, or release number