From 8f86f098b6ea868f8d98b4d26df8382dc4047c81 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 14 Nov 2021 20:42:34 +0100 Subject: Inital commit --- board/common.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 board/common.sh (limited to 'board/common.sh') diff --git a/board/common.sh b/board/common.sh new file mode 100644 index 0000000..ecda59d --- /dev/null +++ b/board/common.sh @@ -0,0 +1,8 @@ +create_missing_dir() { + test -d "${TARGET_DIR}/$1" || mkdir "${TARGET_DIR}/$1" +} + +remove_text() { + echo sed --in-place "s/$2//" $1 + sed --in-place "s/$2//" $1 +} -- cgit v1.2.3