[SM-Grimoire-Bugs] [Bug 10357] bind fails to cast -- "./make: is a directory" -- libmisc

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Sun Jan 8 05:07:37 EST 2006


http://bugs.sourcemage.org/show_bug.cgi?id=10357


sqweek at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sm-grimoire-
                   |                            |bugs at lists.ibiblio.org
         AssignedTo|sm-grimoire-                |sqweek at gmail.com
                   |bugs at lists.ibiblio.org      |
             Status|NEW                         |ASSIGNED




------- Additional Comments From sqweek at gmail.com  2006-01-08 04:07 -------
Here's that patch.

$ diff -u libmisc.orig /var/lib/sorcery/modules/libmisc 
--- libmisc.orig        2006-01-08 17:52:11.000000000 +0800
+++ /var/lib/sorcery/modules/libmisc    2006-01-08 18:09:19.000000000 +0800
@@ -1128,7 +1128,7 @@
   local target=$1 location
   local BREAK
   function smgl_which_sub() {
-    if test -x "$1/$target" ; then
+    if test -f "$1/$target" -a -x "$1/$target" ; then
       echo "$1/$target"
       BREAK=yes
     fi

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.



More information about the SM-Grimoire-Bugs mailing list