summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/cdrtools
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2016-10-11 20:08:15 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-15 09:49:18 +0100
commite67637e4472ff3a1e2801b84ee3d69d4e14b9efc (patch)
tree670f046b8245f4a23d4b2ea76ef722f77ba93032 /meta/recipes-devtools/cdrtools
parent7f8c36d8aa00da109e842c790c6a0ab7a849de72 (diff)
downloadopenembedded-core-e67637e4472ff3a1e2801b84ee3d69d4e14b9efc.tar.gz
openembedded-core-e67637e4472ff3a1e2801b84ee3d69d4e14b9efc.tar.bz2
openembedded-core-e67637e4472ff3a1e2801b84ee3d69d4e14b9efc.zip
base-files: fix profile error under < /dev/null
Previous attempts to constrain execution of `resize` to only TTYs did not properly handle situations when `tty` would return the string "not a tty". The symptom is "/etc/profile: line 34: test: too many arguments". Fix this by utilizing the exit code of `tty`. Also use `case` instead of `cut` to eliminate a subshell. Signed-off-by: Richard Tollerton <rich.tollerton@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/cdrtools')
0 files changed, 0 insertions, 0 deletions