diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ccwl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/ccwl b/scripts/ccwl index 3f8ab9b..cc7728f 100755 --- a/scripts/ccwl +++ b/scripts/ccwl @@ -73,6 +73,10 @@ exec guile --no-auto-compile -e main -s "$0" "$@" ;; our purposes. Besides, compiling would fail since the workflow ;; macro cannot access command definitions. (set! %load-should-auto-compile #f) + (unless (file-exists? source) + (raise-exception + (formatted-message "File ~a does not exist" + source))) ((case to ((cwl) function->cwl) ((dot) function->dot)) |
