changeset 29037:b5af0c398c69

Fix cross-compile on OSX, working around an apparently crippled sed. I used the MinGW binaries from http://crossgcc.rts-software.org/doku.php
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 13 Feb 2010 18:51:00 +0000
parents 08cc1cf27ac4
children f6cc97902049
files libpurple/win32/targets.mak
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/win32/targets.mak	Fri Feb 12 21:00:35 2010 +0000
+++ b/libpurple/win32/targets.mak	Sat Feb 13 18:51:00 2010 +0000
@@ -23,7 +23,7 @@
 
 $(PIDGIN_REVISION_H): $(PIDGIN_REVISION_RAW_TXT)
 	if [ -f $< ]; then \
-		sed 's/^\(.\+\)$$/#define REVISION "\1"/' $< > $@; \
+		sed 's/^\(.\{1,\}\)$$/#define REVISION "\1"/' $< > $@; \
 	fi
 	[ -f $@ ] || echo "#define REVISION \"unknown\"" > $@