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

Converge Shell scripts on single implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • 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

        1. ACCUMULO-2423.v1.patch.txt
          44 kB
          Mike Drob

        Issue Links

          Activity

            People

              mdrob Mike Drob
              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