Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-507

Make whirr script executable from any path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.7.1
    • None
    • Linux (Ubuntu 11.04)

    Description

      I personally find very painful to be forced to call whirr script using its whole path. I'd prefer to add whirr script to my $PATH env variable so that I can call whirr from anywhere. I've modified the whirr script according to this purpose.
      I've created two version of the modified script:

      • one that uses the readlink command
      • one that doesn't used the former command.

      I only tested under Ubuntu 11.04 so I've no idea whether or not the readlink command is available on other distros. So please test and comment.

      Attachments

        1. whirr
          2 kB
          Marco Didonna
        2. whirr_scala.patch
          0.8 kB
          Marco Didonna
        3. whirr_script.patch
          1 kB
          Marco Didonna
        4. whirr.noreadlink
          2 kB
          Marco Didonna
        5. whirr.readlink
          1 kB
          Marco Didonna

        Activity

          People

            mdidonna Marco Didonna
            mdidonna Marco Didonna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: