makedirs instead of mkdir, since /opt/ros/latest needs an intermediate directory
This commit is contained in:
parent
33b1546aa8
commit
b53c65e479
|
@ -32,7 +32,7 @@ ros_uri = ros_uri.replace('$STACK_NAME', 'ros')
|
|||
ros_root = os.path.join(workspace, 'ros')
|
||||
stacks_root = os.path.join(workspace, 'stacks')
|
||||
try:
|
||||
os.mkdir(workspace, 0755)
|
||||
os.makedirs(workspace, 0755)
|
||||
except:
|
||||
raise Exception("could not create workspace directory. ahhhhhhhhhh")
|
||||
subprocess.check_call(['/usr/bin/svn', 'co', ros_uri, ros_root])
|
||||
|
|
Loading…
Reference in New Issue