OSDN Git Service

autogen_manpages.sh: Fix the path of virtualenv dir
authorAkihiro MOTOKI <amotoki@gmail.com>
Sat, 24 Jan 2015 13:14:13 +0000 (22:14 +0900)
committerAkihiro MOTOKI <amotoki@gmail.com>
Sat, 24 Jan 2015 13:14:13 +0000 (22:14 +0900)
tools/autogen_manpages.sh

index 96c7005..e6a938f 100755 (executable)
@@ -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