Sha256: 14e51405ba512795061e9826486e319f45db4b98745ca384ecab998bb741919c

Contents?: true

Size: 191 Bytes

Versions: 11

Compression:

Stored size: 191 Bytes

Contents

#!/bin/sh -e

if $(svn info &>/dev/null); then
    echo svn
elif $(git status &>/dev/null); then
    echo git
elif $(hg status &>/dev/null); then
    echo mercurial
else
    echo undefined
fi

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nixenvironment-0.0.70 legacy/DetectSCM.sh
nixenvironment-0.0.69 legacy/DetectSCM.sh
nixenvironment-0.0.68 legacy/DetectSCM.sh
nixenvironment-0.0.67 legacy/DetectSCM.sh
nixenvironment-0.0.66 legacy/DetectSCM.sh
nixenvironment-0.0.65 legacy/DetectSCM.sh
nixenvironment-0.0.64 legacy/DetectSCM.sh
nixenvironment-0.0.63 legacy/DetectSCM.sh
nixenvironment-0.0.62 legacy/DetectSCM.sh
nixenvironment-0.0.61 legacy/DetectSCM.sh
nixenvironment-0.0.60 legacy/DetectSCM.sh