[Lunar-commits] <lunar> Merge pull request #29 from cavalier38/fixes

Auke Kok sofar+github at foo-projects.org
Mon Nov 5 19:53:02 CET 2012


commit f09fe3503616710bc0a40550d409d45d201e59e4
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Mon, 05 Nov 2012 10:53:02 -0800
URL: https://github.com/lunar-linux/lunar/commit/f09fe3503616710bc0a40550d409d45d201e59e4

Merge pull request #29 from cavalier38/fixes

Fixes
---
  libs/depends.lunar | +2/-2     
  libs/main.lunar    | +1/-1     
  2 files changed

--- a/libs/depends.lunar
+++ b/libs/depends.lunar
@@ -311,7 +311,7 @@ satisfy_depends()  {
   done
 
   # then parse $OPTS
-  while read LINE; do
+  while read -u3 LINE; do
     DEP_MODULE=$(echo $LINE | cut -d: -f2)
     DEP_STATUS=$(echo $LINE | cut -d: -f3)
         DEP_ON=$(echo $LINE | cut -d: -f5)
@@ -333,7 +333,7 @@ satisfy_depends()  {
     else
       OPTS="$OPTS $DEP_ON"
     fi
-  done < $TMP_FILE
+  done 3< $TMP_FILE
 
   temp_destroy $TMP_FILE
 }
--- a/libs/main.lunar
+++ b/libs/main.lunar
@@ -278,7 +278,7 @@ lin_module()  {
   satisfy_depends             &&
   show_downloading            &&
 
-  OPTS="$OPTS `grep "^$MODULE:" "$TEMP_CONFIGOPTS" | cut -d: -f2`"
+  OPTS="$OPTS `grep "^$MODULE:" "$TEMP_CONFIGOPTS" | cut -d: -f2`"  &&
 
   # last minute source code presence check:
   (




More information about the Lunar-commits mailing list