[Lunar-commits] <lunar> Quoted a posible stdin file argument

Peter de Ridder peter at lunar-linux.org
Mon Jul 9 00:55:10 CEST 2012


commit 6ed27e7894b370363a7cfc668c0d6c2a92a78b0b
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 08 Jul 2012 15:55:10 -0700
URL: https://github.com/lunar-linux/lunar/commit/6ed27e7894b370363a7cfc668c0d6c2a92a78b0b

Quoted a posible stdin file argument
---
  libs/depends.lunar                                           +1/-1     
  1 files changed, 1 insertions (+), 1 deletions (-)

--- a/libs/depends.lunar
+++ b/libs/depends.lunar
@@ -72,7 +72,7 @@ sort_by_dependency() {
     B=$(MODULE=$A NEVER_ASK=1 DEPS_ONLY= unalias $B)
     echo "$A $B" >> $TMP_TSRT
   done
-  tsort $TMP_TSRT 2> /dev/null | tac > $TMP_ALL
+  tsort "$TMP_TSRT" 2> /dev/null | tac > $TMP_ALL
   temp_destroy $TMP_TSRT
 
   # append all modules that do not have a DEPENDS file at all at the end




More information about the Lunar-commits mailing list