Skip to content

Commit f7f2d0f

Browse files
committed
Dependency file needs to be set also if rosdep target
1 parent 1a720ae commit f7f2d0f

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
@@ -180,6 +180,11 @@ function tue-install-rosdep
180180
then
181181
tue-install-debug "Target '$target' has not yet been resolved by rosdep, going to installation procedure"
182182

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

0 commit comments

Comments
 (0)