[Lunar-commits] <moonbase> scala-bin: added missing &&s

Paul Bredbury brebs at lunar-linux.org
Sat Feb 26 07:32:56 CET 2011


commit 917288e303cb4868aa04f226a7f686dc1387fb14
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Sat Feb 26 13:32:56 2011 +0700

    scala-bin: added missing &&s
---
 zbeta/scala-bin/BUILD |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/zbeta/scala-bin/BUILD b/zbeta/scala-bin/BUILD
index d6fce7e..bb30eab 100644
--- a/zbeta/scala-bin/BUILD
+++ b/zbeta/scala-bin/BUILD
@@ -1,11 +1,12 @@
 (
-  prepare_install &&
 
   # rm *.bat files
-  rm $SOURCE_DIRECTORY/bin/*.bat
+  rm $SOURCE_DIRECTORY/bin/*.bat &&
+
+  prepare_install &&
 
   # copy extracted files
-  mkdir -p /usr/scala &&
+  mkdir -p /usr/scala                &&
   cp -r $SOURCE_DIRECTORY /usr/scala &&
 
   # symlink default and latest (like java)
@@ -17,12 +18,12 @@
   # symlink bin folder
   for file in /usr/scala/latest/bin/*; do
       ln -sf $file /usr/bin/
-  done
+  done &&
 
   # symlink man folder
   for file in /usr/scala/latest/man/man1/*; do
       ln -sf $file /usr/man/man1/
-  done
+  done &&
 
   if [ $EXTEND_JAVA == "y" ]; then
       for file in /usr/scala/latest/lib/*; do


More information about the Lunar-commits mailing list