Skip to content

Commit 5f93c94

Browse files
committed
Strip robot model after the storage locations have been configured
1 parent cec4307 commit 5f93c94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/start_ursim.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,11 @@ main() {
325325

326326
validate_parameters
327327

328-
strip_robot_model "$ROBOT_MODEL" "$ROBOT_SERIES"
329-
330328
URCAP_STORAGE="${PERSISTENT_BASE}/${ROBOT_SERIES}/urcaps"
331329
PROGRAM_STORAGE="${PERSISTENT_BASE}/${ROBOT_SERIES}/${ROBOT_MODEL}/programs"
332330

331+
strip_robot_model "$ROBOT_MODEL" "$ROBOT_SERIES"
332+
333333
if [ -z "$PORT_FORWARDING" ]; then
334334
if [ "$ROBOT_SERIES" == "polyscopex" ]; then
335335
PORT_FORWARDING=$PORT_FORWARDING_WITHOUT_DASHBOARD

0 commit comments

Comments
 (0)