From d229755836c272aa366b3c972d440309d1606308 Mon Sep 17 00:00:00 2001 From: paltherr Date: Wed, 22 Sep 2004 11:26:57 +0000 Subject: - Added creation of objdir --- sources/bin/.scala_wrapper.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources') diff --git a/sources/bin/.scala_wrapper.tmpl b/sources/bin/.scala_wrapper.tmpl index 23f9ee0058..79fd2abd2b 100644 --- a/sources/bin/.scala_wrapper.tmpl +++ b/sources/bin/.scala_wrapper.tmpl @@ -967,10 +967,10 @@ test_main() { fi; if [ -n "$OBJDIR" ]; then - if [ -d "$OBJDIR" ]; then + if [ -d "$OBJDIR" ] || mkdir -p "$OBJDIR"; then OBJDIR=`cd "$OBJDIR"; pwd`/; else - abort "could not access directory '$OBJDIR'"; + abort "could not create directory '$OBJDIR'"; fi fi -- cgit v1.2.3