mkcsrc: fix a regexp that brokes the reboostrap
authorJean Privat <jean@pryen.org>
Wed, 23 Apr 2014 20:41:31 +0000 (16:41 -0400)
committerJean Privat <jean@pryen.org>
Wed, 23 Apr 2014 20:47:28 +0000 (16:47 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/mkcsrc

index b3b6069..a529c3d 100755 (executable)
@@ -20,4 +20,4 @@ done
 # Update references in file
 perl -i -npe 's#"\.\./.*?([^/]*.h)"#"\1"#' "$out"/*.[ch]
 perl -i -npe 's#\S*/([^/]*.[ch])#\1#' "$out/Makefile"
-perl -i -npe 's#../clib#.#' "$out/Makefile"
+perl -i -npe 's#\.\./clib#.#' "$out/Makefile"