From a77727a1ce96afea492a98b1926235ec692a9c58 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Mon, 31 Jul 2023 15:27:10 +0100 Subject: [PATCH] Port script. --- gormlite/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gormlite/test.sh b/gormlite/test.sh index 7adfed4..7dfd559 100755 --- a/gormlite/test.sh +++ b/gormlite/test.sh @@ -3,7 +3,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" -rm -rf gorm/ tests/ $TMPDIR/gorm.db +rm -rf gorm/ tests/ "$(dirname $(mktemp -u))/gorm.db" git clone --filter=blob:none https://github.com/go-gorm/gorm.git mv gorm/tests tests rm -rf gorm/ @@ -14,5 +14,5 @@ cd tests go mod tidy && go work use . && go test cd .. -rm -rf tests/ $TMPDIR/gorm.db +rm -rf tests/ "$(dirname $(mktemp -u))/gorm.db" go work use -r . \ No newline at end of file