Skip to content

Commit cfa478a

Browse files
MatthijsBurghar13pit
authored andcommitted
Dependency file needs to be set also if rosdep target
1 parent cf6b587 commit cfa478a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installer/tue-install-impl.bash

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ function tue-install-rosdep
179179
then
180180
tue-install-debug "Target '$target' has not yet been resolved by rosdep, going to installation procedure"
181181

182+
# Empty the target's dependency file
183+
tue-install-debug "Emptying $TUE_INSTALL_DEPENDENCIES_DIR/$target"
184+
truncate -s 0 "$TUE_INSTALL_DEPENDENCIES_DIR"/"$target"
185+
local target_processed=false
186+
182187
# Check if target can be resolved by rosdep
183188
tue-install-debug "rosdep resolve $target"
184189
local rosdep_res

0 commit comments

Comments
 (0)