Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-4903

[Solaris 11] local: not found when starting fuse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Karaf
    • Labels:
      None
    • Environment:

      solaris 11.1 x86

    • Sprint:
      6.3 Sprint 3 (Feb 29 - Mar 25)

      Description

      When starting clean fuse 6.3 on solaris 11, it complains:

      avano@solaris:~Downloads/jboss-fuse-6.3.0.redhat-015% bin/fuse
      bin/karaf[176]: local: not found [No such file or directory]
      bin/karaf[186]: local: not found [No such file or directory]
      bin/karaf[187]: local: not found [No such file or directory]
      

      problem is in this method:

      pathCanonical() {
          local dst="${1}"
          while [ -h "${dst}" ] ; do
              ls=`ls -ld "${dst}"`
              link=`expr "$ls" : '.*-> \(.*\)$'`
              if expr "$link" : '/.*' > /dev/null; then
                  dst="$link"
              else
                  dst="`dirname "${dst}"`/$link"
              fi
          done
          local bas=`basename "${dst}"`
          local dir=`dirname "${dst}"`
          if [ "$bas" != "$dir" ]; then
            dst="`pathCanonical "$dir"`/$bas"
          fi
          echo "${dst}" | sed -e 's#//#/#g' -e 's#/./#/#g' -e 's#/[^/]*/../#/#g'
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lburgazzoli Luca Burgazzoli
                Reporter:
                avano Andrej Vaňo
                Tester:
                Tomas Plevko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: