Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2423

Converge Shell scripts on single implementation

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Do we want to have a stated dependency on a particular shell? Most of our scripts explicitly use bash, but some use sh. Most scripts invoke #!/usr/bin/env bash but some do #!/bin/bash or other crazy things.

      I don't have a particular preference which way we go, but I'd like to see us standardize one way or the other.

      If we use /bin/sh, then we can run everything through the checkbashisms script (also available for other distros)

      If we go the other way, and switch everything to bash, then we can run them through ksh -n for deprecation warnings. I know that's a different shell, but they're still moderately useful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdrob Mike Drob
                Reporter:
                mdrob Mike Drob
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 40m
                  4h 40m