• Zach Loafman's avatar
    Fix hack/cherry_pick_pull.sh on OS X (sigh): · fb861320
    Zach Loafman authored
    On OS X bash, for whatever reason, the ancient, forsaken bash version
    (3.2!?) that will never be updated because it might insult the memory
    of Steve Jobs doesn't allow me to accidentally escape the hash
    character. Fix the unnecessary escaping.
    
    For reviewers out there wondering about this syntax, it's documented
    here: http://www.tldp.org/LDP/abs/html/parameter-substitution.html
    under:
    
    ```
    ${var/#Pattern/Replacement}
    
      If prefix of var matches Pattern, then substitute Replacement for Pattern.
    ```
    
    It just looks odd here because I'm adding the hash character to the
    start of each array element.
    fb861320
cherry_pick_pull.sh 6.13 KB