Wind River Support Network

HomeDefectsLIN7-3688
Fixed

LIN7-3688 : CLONE - rcpl-cl.sh: line 316: printf: 0018: invalid octal number

Created: May 4, 2015    Updated: Sep 8, 2018
Resolved Date: Jun 13, 2015
Found In Version: 7.0
Fix Version: 7.0.0.7
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

rcpl-cl.sh works well with RCPL 17:
$ /lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh -c all -v 0017 > /dev/null
# [no error output]

But it fails with RCPL 18 or higher:
$ /lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh -c all -v 0018 > /dev/null
/lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh: line 316: printf: 0018: invalid octal number

Interestingly enough, it works when 18 is used instead of 0018:
$ /lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh -c all -v 18 > /dev/null
# [no output]

Steps to Reproduce

$ /lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh -c all -v 0018 > /dev/null
/lx6/wrlinux-6/scripts/rcpl/rcpl-cl.sh: line 316: printf: 0018: invalid octal number

Other Downloads


Live chat
Online