Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Config/{un,}installfns.sh fail when not using function subdirs



Maybe nobody else needs the first hunk of this and I'm just out of sync, but
the uninstallfn.sh hunk is definitely needed following my previous patch to
update it for $(DESTDIR) etc.

Index: Config/installfns.sh
===================================================================
@@ -13,7 +13,7 @@
   if test -f "$sdir/$file"; then
     install="$install $file"
   else
-    install="$install `echo '' $sdir/$file | sed -e \"s% $sdir/%%g\"`"
+    install="$install `echo '' $sdir/$file | sed -e \"s% $sdir/% %g\"`"
   fi
 done
 
Index: Config/uninstallfns.sh
===================================================================
@@ -7,7 +7,7 @@
   if test -f "$sdir/$file"; then
     install="$install $file"
   else
-    install="$install `echo '' $sdir/$file | sed -e \"s% $sdir/%%g\"`"
+    install="$install `echo '' $sdir/$file | sed -e \"s% $sdir/% %g\"`"
   fi
 done
 

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author