summaryrefslogtreecommitdiffstats
path: root/test/Install/multi-dir/src/SConstruct
blob: 73683d31144cb350690dc7e0230318ea74075f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SPDX-License-Identifier: MIT
#
# Copyright The SCons Foundation
#
# This tests for a bug where installing a sequence dirs and subdirs
# outside the source tree can cause SCons to fail to create the dest
# dir.
import os

DefaultEnvironment(tools=[])
env=Environment(tools=[])
dst='../build'
env.Install(os.path.join(dst,'__foo/bar/baz'), 'a')
env.Install(os.path.join(dst,'__foo/bar/baz/a/b'), 'x/y')