On Sat, 22 Dec 2007, Tomaž Zupan wrote: > Hi! > There seems to be a problem with this script, because I aleays get empty > archive and thus make_rpm.sh script also fails. > Problem is in this line: > for f in `sed -e '/^[ ]*name="..*"$/ !d' -e 's/^[ ]*name="\(.*\)"$/\1/g' > $d/entries` > Because it never returns any result and thus --files-from "$hb_flst" is > always > empty. I am getting this on Mandriva 2008 and latest cvs.
If it's not bug in Mandriva SED then you probably have repository with CRLF EOLs. How do you take it? Can you send to me one of your entries files in binary form (f.e. compressed by GZIP) to eliminate automatic EOL conversion by mail programs? BTW Can you also test this command in one of Harbour .svn directories: sed -e '/^[ ]*name="..*"[\r]*$/ !d' -e 's/^[ ]*name="\(.*\)".*/\1/g' entries best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
