From e573b3020c032400eed60b649a2cbf55266e6bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:03:25 +0200 Subject: Add current configurations from old repository --- vim/bundle/YouCompleteMe/install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 vim/bundle/YouCompleteMe/install.sh (limited to 'vim/bundle/YouCompleteMe/install.sh') diff --git a/vim/bundle/YouCompleteMe/install.sh b/vim/bundle/YouCompleteMe/install.sh new file mode 100755 index 0000000..8c9c2fd --- /dev/null +++ b/vim/bundle/YouCompleteMe/install.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +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 $? -- cgit v1.2.3