hi and nice sunday,

btw: thanks Steve, I corrected my build environment (the maven bug) and
my block works now.

I have a simple patch that corrects the issue with the merlin.sh.

Changes made to merlin.sh:

# if the MERLIN_TMPDIR is not set, define it to be $MERLIN_HOME/tmp
test -z $MERLIN_TMPDIR && MERLIN_TMPDIR=$MERLIN_HOME/tmp
# if the MERLIN_TMPDIR does not exist create it.
test -d $MERLIN_TMPDIR || mkdir $MERLIN_TMPDIR

it would be nice if we could tell maven to set executable flag for the
shell when building the dist in target/inst, as, I think cvs by default
removes the executable flag from shell scripts (or I am wrong here?).

bye,
-- Jakob

Index: merlin.sh
===================================================================
RCS file: /home/cvspublic/avalon-sandbox/merlin/merlin-platform/src/bin/merlin.sh,v
retrieving revision 1.1
diff -u -r1.1 merlin.sh
--- merlin.sh	10 Jun 2003 03:14:47 -0000	1.1
+++ merlin.sh	6 Jul 2003 13:01:22 -0000
@@ -66,6 +66,15 @@
   . "$MERLIN_HOME"/bin/setenv.sh
 fi
 
+if [ -z "$MERLIN_TMPDIR" ] ; then
+  MERLIN_TMPDIR=$MERLIN_HOME/tmp
+fi
+
+if [ ! -d $MERLIN_TMPDIR?] ; then
+  mkdir "$MERLIN_TMPDIR" 
+fi
+
+
 # Checking for JAVA_HOME is required on *nix due
 # to some distributions stupidly including kaffe in /usr/bin
 if [ "$JAVA_HOME" = "" ] ; then

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to