summaryrefslogtreecommitdiff
path: root/sources/bin/.scala_wrapper.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'sources/bin/.scala_wrapper.tmpl')
-rw-r--r--sources/bin/.scala_wrapper.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/bin/.scala_wrapper.tmpl b/sources/bin/.scala_wrapper.tmpl
index 7bf24be40d..b2b3965564 100644
--- a/sources/bin/.scala_wrapper.tmpl
+++ b/sources/bin/.scala_wrapper.tmpl
@@ -182,7 +182,9 @@ compute_value() {
unset SCALA_$1;
fi;
fi;
- if ! eval [ -f \"\$current_$1\" -o -d \"\$current_$1\" ]; then
+ if eval [ -f \"\$current_$1\" -o -d \"\$current_$1\" ]; then
+ :;
+ else
eval abort \""File referred by default_$1 (\$default_$1)" \
"does not exist. Please, fix definition of default_$1 in" \
"file $SOURCE or define environment variable SCALA_$1."\";