From: Akihiro MOTOKI Date: Sat, 24 Jan 2015 13:14:13 +0000 (+0900) Subject: autogen_manpages.sh: Fix the path of virtualenv dir X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8a81904a56b013a88b3e3b9fc14b19af4965cc08;p=linuxjm%2FLDP_man-pages.git autogen_manpages.sh: Fix the path of virtualenv dir --- diff --git a/tools/autogen_manpages.sh b/tools/autogen_manpages.sh index 96c70055..e6a938f8 100755 --- a/tools/autogen_manpages.sh +++ b/tools/autogen_manpages.sh @@ -17,9 +17,9 @@ done SCRIPT_DIR=$(cd $(dirname $0) && pwd) -VENV=../$SCRIPT_DIR/../venv +VENV=$SCRIPT_DIR/../venv -if ! which virtualenv; then +if ! which virtualenv > /dev/null; then echo "virtualenv not found. Make sure to have virtualenv installed." exit 2 fi