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

[Solaris 11] local: not found when starting fuse

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.3
    • jboss-fuse-6.3
    • Karaf
    • None
    • % %
    • 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'
      }
      

      Attachments

        Activity

          People

            lburgazz@redhat.com Luca Burgazzoli
            avano@redhat.com Andrej Vano
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: