From 35a613f4d9485340ab99d5861235edd32a587b0c Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Tue, 11 Jun 2024 20:54:49 +0200 Subject: [PATCH] Don't leave test.tmp laying around --- depends/check-pspdev.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/depends/check-pspdev.sh b/depends/check-pspdev.sh index 8a21d44..2281b85 100755 --- a/depends/check-pspdev.sh +++ b/depends/check-pspdev.sh @@ -9,6 +9,7 @@ ls -ld $PSPDEV > /dev/null 2>&1 || mkdir -p $PSPDEV > /dev/null 2>&1 || { echo " ## Check for write permission. touch $PSPDEV/test.tmp > /dev/null 2>&1 || { echo "ERROR: Grant write permissions for $PSPDEV before continuing."; exit 1; } +rm $PSPDEV/test.tmp ## Check for $PSPDEV/bin in the path. echo $PATH | grep $PSPDEV/bin > /dev/null 2>&1 || { echo "ERROR: Add $PSPDEV/bin to your path before continuing."; exit 1; }