From 4c9766f256369627176a2fec14005f9830089bae Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Mon, 17 Jun 2024 09:21:28 +0200 Subject: [PATCH] Do not add backup file with sed At the moment it creates a build.txt= file. turns out busybox sed is a bit different. --- build-and-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-and-install.sh b/build-and-install.sh index 575c3b46..c74617ce 100755 --- a/build-and-install.sh +++ b/build-and-install.sh @@ -39,6 +39,6 @@ cd - ## Store build information BUILD_FILE="${PSPDEV}/build.txt" if [[ -f "${BUILD_FILE}" ]]; then - sed -i='' '/^pspsdk /d' "${BUILD_FILE}" + sed -i'' '/^pspsdk /d' "${BUILD_FILE}" fi git log -1 --format="pspsdk %H %cs %s" >> "${BUILD_FILE}"