Wind River Support Network

HomeDefectsLIN6-9817
Fixed

LIN6-9817 : rcpl-cl.sh: line 316: printf: 0018: invalid octal number

Created: May 1, 2015    Updated: Dec 3, 2018
Resolved Date: May 4, 2015
Found In Version: 6.0.0.19
Fix Version: 6.0.0.20
Severity: Standard
Applicable for: Wind River Linux 6
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