• Tommi Virtanen's avatar
    sharness: Use sed in a cross-platform safe way · a3de9bf3
    Tommi Virtanen authored
    OS X sed is documented as "-i SUFFIX", GNU sed as "-iSUFFIX". The one
    consistent case seems to be "-iSUFFIX", where suffix cannot empty (or
    OS X will parse the next argument as the suffix).
    
    This used to leave around files named `refsout=` on Linux, and was
    just confusing.
    
    License: MIT
    Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
    a3de9bf3
t0080-repo.sh 6.76 KB