Fixed installation rules

This commit is contained in:
Pavel Kirienko
2014-03-31 23:53:42 +04:00
parent c80e0388eb
commit 5f8eb61a6f
2 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
import os, sys, logging, argparse
RUNNING_FROM_SRC_DIR = os.path.abspath(__file__).endswith(os.path.join('libuavcan', 'dsdl_compiler', 'uavcan_dsdlc'))
RUNNING_FROM_SRC_DIR = os.path.abspath(__file__).endswith(os.path.join('libuavcan', 'dsdl_compiler', 'libuavcan_dsdlc'))
if RUNNING_FROM_SRC_DIR:
print('Running from the source directory')
scriptdir = os.path.dirname(os.path.abspath(__file__))