Bug 43899

Summary: sdr need to be run from /usr/bin
Product: [Retired] Red Hat Powertools Reporter: Douglas Kilpatrick <kilpatds>
Component: sdrAssignee: Tim Powers <timp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-08 13:31:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Douglas Kilpatrick 2001-06-07 21:03:12 UTC
$ sdr
sdr:tcl_sdr couldn't stat "sdr": no such file or directory
couldn't stat "sdr": no such file or directory
    while executing
"file type $app_name"


$ cd $(dirname $(which sdr) )
$ ./sdr

works fine.

Comment 1 Tim Powers 2001-06-07 21:20:25 UTC
Actually, it's not that complicated. 

Run it like so:



Comment 2 Douglas Kilpatrick 2001-06-07 21:31:31 UTC
that also works, no real surprise. (Ok, bug summary is wrong.  Real bug
remains.  "Stupid app does 'stat $0' and expects it to actually work."  I have
not had the courage to get the source and find out why it thinks it needs to
stat the program.)

Comment 3 Tim Powers 2001-06-08 13:31:43 UTC
It's definitely a bug. I don't dispute that. I just thought it was funny that in
your initial description of the problem you found a workaround using the "hard"
way ;)

In any case, sdr-3.0-4 fixes this problem. It should show up in rawhide soon.

Also, I updated rat as well. Yoou should see a new version of that in rawhide at
the same time.