From 63604b9dbd686cb312a2a8ea0b4bf4f5f0163415 Mon Sep 17 00:00:00 2001 From: Guy Baconniere Date: Fri, 22 Oct 2021 14:54:38 +0200 Subject: [PATCH] 2021-10-22 14:54:38 --- libft/Makefile | 8 ++++---- libft/libft | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libft/Makefile b/libft/Makefile index 703f556..9a13305 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -6,7 +6,7 @@ # By: gbaconni +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/10/22 09:10:00 by gbaconni #+# #+# # -# Updated: 2021/10/22 11:51:01 by gbaconni ### ########.fr # +# Updated: 2021/10/22 14:53:45 by gbaconni ### ########.fr # # # # **************************************************************************** # # @@ -43,14 +43,14 @@ a: update compile @./$(OUT) || true b: compile - @grep -q 'update message' libftTester/Makefile && sed -i'' -r 's/update (message)/\1/g' libftTester/Makefile || true - @grep -q '/libft$$' libftTester/Makefile || sed -i'' -r 's/^(PARENT_DIR.*)/\1\/libft/' libftTester/Makefile || true + @grep -q 'update message' libftTester/Makefile && sed -i .orig 's/update \(message\)/\1/g' libftTester/Makefile || true + @grep -q '/libft$$' libftTester/Makefile || sed -i .orig 's/^\(PARENT_DIR.*\)/\1\/libft/' libftTester/Makefile || true @make -C libftTester m || true @make -C libftTester b || true c: compile @test -f Libftest/my_config.sh || (cd Libftest && ./grademe.sh >/dev/null 2>&1) || true - @grep -q '^PATH_LIBFT=\.\./libft' Libftest/my_config.sh || sed -i'' -r 's/^(PATH_LIBFT)=.*/\1=..\/libft/' Libftest/my_config.sh + @grep -q '^PATH_LIBFT=\.\./libft' Libftest/my_config.sh || sed -i .orig 's/^\(PATH_LIBFT\)=.*/\1=..\/libft/' Libftest/my_config.sh @cd Libftest && ./grademe.sh || true d: compile diff --git a/libft/libft b/libft/libft index 37dc26e..07d52c8 120000 --- a/libft/libft +++ b/libft/libft @@ -1 +1 @@ -/home/baco/42/libft/git \ No newline at end of file +/Users/gbaconni/42/libft/git \ No newline at end of file