X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FTCPClientServer%2FSConstruct;h=4af5a5400e3d8c779b9eb5cbbe13a88bce4986f8;hb=74febc7a9abc84c4939269b3443d15fc27f4e960;hp=c5fc004abdca65e1e80ab67d9e83001a1922ab89;hpb=eb83d096ce313989c3588c1cb6663caa513fb370;p=senf.git diff --git a/Examples/TCPClientServer/SConstruct b/Examples/TCPClientServer/SConstruct index c5fc004..4af5a54 100644 --- a/Examples/TCPClientServer/SConstruct +++ b/Examples/TCPClientServer/SConstruct @@ -1,7 +1,9 @@ # -*- python -*- - import sys, os, os.path -sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d,'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/')))) if os.path.exists(_))).next()) +try: sys.path.append(((_ for _ in (os.path.join(os.path.sep.join(('..' for _ in range(_))),d, + 'site_scons') for d in ('','senf','Senf') for _ in range(len(os.getcwd().split('/')))) + if os.path.exists(_))).next()) +except: sys.path.append('/usr/lib/senf/site_scons') import senfutil env = Environment()