git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1459
270642c3-0616-0410-b53a-bc976706d245
cwd=env.GetLaunchDir()
home=os.environ['HOME']+'/'
if cwd.startswith(home) : cwd = cwd[len(home):]
+ args = [ '$SCONSARGS' ]
+ if env.GetLaunchDir() != os.getcwd():
+ args.append('-u')
env.PhonyTarget(target, [], [ "ssh $HOST scons $SCONSARGS -C $DIR $RTARGET" ],
- HOST=host, RTARGET=realtarget, DIR=cwd)
+ HOST=host, RTARGET=realtarget, DIR=cwd, SCONSARGS=args)