From 8d88ddac649b1a0af02070ed17361fbd33ec8a74 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Tue, 10 Apr 2018 21:25:33 -0700 Subject: [PATCH] Make mount/ copy optional --- desk.acc/res/go.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/desk.acc/res/go.sh b/desk.acc/res/go.sh index 0af7ca5..d0b49b1 100755 --- a/desk.acc/res/go.sh +++ b/desk.acc/res/go.sh @@ -53,6 +53,8 @@ stats "date.s" stats "puzzle.s" # Mountable directory -echo "Copying files to mount/" -mount 'show.image.file.$F1' -mount 'this.apple.$F1' +if [ -d mount ]; then + echo "Copying files to mount/" + mount 'show.image.file.$F1' + mount 'this.apple.$F1' +fi