YouCompleteMe/install.sh

18 lines
328 B
Bash
Raw Permalink Normal View History

#!/bin/sh
2013-02-06 11:16:49 -05:00
echo "WARNING: this script is deprecated. Use the install.py script instead." 1>&2
SCRIPT_DIR=$(dirname $0 || exit $?)
command_exists() {
command -v "$1" >/dev/null 2>&1 ;
}
PYTHON_BINARY=python
if command_exists python2; then
PYTHON_BINARY=python2
fi
$PYTHON_BINARY "$SCRIPT_DIR/install.py" "$@" || exit $?