#2643 assigned defect

rtems/rtems-bsps script's find command broken (again)

Reported by: Joel Sherrill Owned by: Needs Funding
Priority: normal Milestone: Indefinite
Component: unspecified Version: 4.11
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

This is from Centos 7 (rtbf64c) but also broken on Centos 6.

Broken on 4.11 and master.

++ find c/src/lib/libbsp -depth 5 -name '*.cfg'
++ sort
find: paths must precede expression: 5
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
+ cfg_list=

Change History (3)

comment:1 in reply to:  description Changed on Mar 14, 2016 at 9:47:50 PM by Chris Johns

Replying to joel.sherrill:

This is from Centos 7 (rtbf64c) but also broken on Centos 6.

Broken on 4.11 and master.

++ find c/src/lib/libbsp -depth 5 -name '*.cfg'

I have a patch for this queued. It needs to be '-depth -maxdepth 5'.

comment:2 Changed on Jan 26, 2017 at 7:05:37 AM by Sebastian Huber

Milestone: 4.114.11.2

comment:3 Changed on Feb 15, 2017 at 1:37:51 PM by Sebastian Huber

Milestone: 4.11.2Indefinite
Owner: changed from Chris Johns to Needs Funding
Status: newassigned
Note: See TracTickets for help on using tickets.