[Lunar-commits] <lunar> fix lvu from with : in filename

v4hn v4hn at lunar-linux.org
Wed Aug 6 22:11:16 CEST 2014


commit 7a5d964a1a690171610fd3464e26ec220262ed29
Author: v4hn <v4hn at lunar-linux.org>
Date: Wed, 06 Aug 2014 14:20:28 +0200
URL: https://github.com/lunar-linux/lunar/commit/7a5d964a1a690171610fd3464e26ec220262ed29

fix lvu from with : in filename

There was a useless cut in the pipeline.
Probably bit rot.
---
  prog/lvu | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/prog/lvu
+++ b/prog/lvu
@@ -1202,7 +1202,7 @@ main()  {
       for MODULE in $(list_installed); do
         VERSION=$(installed_version $MODULE)
         if grep -q "$2" "$INSTALL_LOGS/$MODULE-$VERSION" ; then
-          for FILE in $(grep "$2" "$INSTALL_LOGS/$MODULE-$VERSION" | cut -d: -f2) ; do
+          for FILE in $(grep "$2" "$INSTALL_LOGS/$MODULE-$VERSION") ; do
             echo "$MODULE:$FILE"
           done
         fi




More information about the Lunar-commits mailing list