Bug 5049 - $config_file is not loaded into environment in script correctly
$config_file is not loaded into environment in script correctly
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rhs-printfilters (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-10 12:26 EDT by kevin
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-10 13:05:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description kevin 1999-09-10 12:26:47 EDT
the file:
/usr/lib/rhs/rhs-printfilters/smbprint

has a line that reads:
eval `cat $config_file`

it should read:
eval "`cat $config_file`"

in order to load the environment variables from
$config_file into the 'smbprint' script.

I have not checked where else this error occurs.

Kevin
Comment 1 Bill Nottingham 1999-09-10 13:05:59 EDT
I can't reproduce this; this works
fine here without the quotes.

Note You need to log in before you can comment on or make changes to this bug.