Issue 71575 - allow to source setsdkenv_unix.sh in RPM spec file
Summary: allow to source setsdkenv_unix.sh in RPM spec file
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Trivial
Target Milestone: ---
Assignee: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 16:40 UTC by pmladek
Modified: 2013-02-24 21:10 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
possible fix (719 bytes, patch)
2006-11-15 16:40 UTC, pmladek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description pmladek 2006-11-15 16:40:08 UTC
It seems that the shell used by RPM to process the spec files has some strange
default setting or limitations:

   1. It exits on each error
   2. The history does not work

It causes that setsdkenv_unix.sh is not able to detect the directory sdkdir.
I'll attach a patch that fixed it for me.

Another solution would be to remove the problematic code and use "$OO_SDK_HOME"
instead of "$sdkdir". I expect that they are always the same, ...
Comment 1 pmladek 2006-11-15 16:40:57 UTC
Created attachment 40591 [details]
possible fix
Comment 2 jsc 2006-11-23 13:36:08 UTC
accepted
Comment 3 jsc 2006-11-23 13:58:27 UTC
fixed on cws jsc15
Comment 4 jsc 2006-12-04 17:05:13 UTC
change owner for verifying

jsc -> cn: check the integrated patch setsdkenv_unix.sh file 
Comment 5 chne 2006-12-11 11:29:37 UTC
ok in jsc15
Comment 6 chne 2007-05-13 21:02:41 UTC
ok in src680_210 => zu