From ae55020b03e2d89ceb0d8b80e303509c6b077510 Mon Sep 17 00:00:00 2001 From: frekky Date: Mon, 18 Jan 2016 18:20:21 +0800 Subject: [PATCH] Fix sed regex for making base64u.c for compatibility with OS X --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 68dd326..7bfe8d4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -44,11 +44,11 @@ base64u.o client.o iodined.o: base64u.h base64u.c: base64.c @echo Making $@ @echo '/* No use in editing, produced by Makefile! */' > $@ - @sed -e 's/\([Bb][Aa][Ss][Ee]64\|[Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.c >> $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/\([Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.c >> $@ base64u.h: base64.h @echo Making $@ @echo '/* No use in editing, produced by Makefile! */' > $@ - @sed -e 's/\([Bb][Aa][Ss][Ee]64\|[Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.h >> $@ + @sed -e 's/\([Bb][Aa][Ss][Ee]64\)/\1u/g ; s/\([Bb]64\)/\1u/g ; s/0123456789+/0123456789_/' < base64.h >> $@ clean: @echo "Cleaning src/"