From f1dc908e63bafb62b73c0b2fd903aebf9b02f725 Mon Sep 17 00:00:00 2001 From: Ralf Teusner Date: Sun, 14 May 2017 23:10:33 +0200 Subject: [PATCH] prevent replacement of * in student submission files.. --- app/assets/remote_scripts/macos.sh | 1 + app/assets/remote_scripts/ubuntu.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/remote_scripts/macos.sh b/app/assets/remote_scripts/macos.sh index f408c899..ac084b55 100644 --- a/app/assets/remote_scripts/macos.sh +++ b/app/assets/remote_scripts/macos.sh @@ -9,6 +9,7 @@ #file_info format: = (src/frog.java=34) #file_path format: +GLOBIGNORE="*" project_root="${1%/}" declare -a file_array diff --git a/app/assets/remote_scripts/ubuntu.sh b/app/assets/remote_scripts/ubuntu.sh index d2fc4aa3..64eda313 100644 --- a/app/assets/remote_scripts/ubuntu.sh +++ b/app/assets/remote_scripts/ubuntu.sh @@ -9,6 +9,7 @@ #file_info format: = (src/frog.java=34) #file_path format: +GLOBIGNORE="*" project_root="${1%/}"