Whirr
  1. Whirr
  2. WHIRR-507

Make whirr script executable from any path

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.1
    • Component/s: None
    • Labels:
    • Environment:

      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Marco Didonna
            Reporter:
            Marco Didonna
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development