From f56c8f978d75a3d35351fce4908a2eeab5fcf0d1 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Tue, 11 Jun 2024 20:52:31 +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; }