Skip to content

Commit

Permalink
Don't leave test.tmp laying around
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jun 11, 2024
1 parent 2834573 commit f56c8f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depends/check-pspdev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit f56c8f9

Please sign in to comment.