Menu

#17 Wrong recognized DIST_ARCH on HP UX [Fixed]

v3.2.3
open-fixed
None
5
2007-07-09
2007-04-10
No

HP-UX duhtent1 B.11.11 U 9000/800

Next code works wrong:

...
DIST_ARCH=`uname -p 2>/dev/null | tr [:upper:] [:lower:] | tr -d [:blank:]`
if [ $? -ne 0 ]
...

maybe because $? contains exit code of "tr" instead of uname.

See attached patch.

Discussion

  • Matěj Kraus

    Matěj Kraus - 2007-04-10
     
  • Leif Mortenson

    Leif Mortenson - 2007-04-21

    Logged In: YES
    user_id=228081
    Originator: NO

    Matej,
    Thanks for the patch. I have applied it and it will be included in the 3.3.0 release.

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2007-04-21
    • milestone: --> v3.2.3
    • assigned_to: nobody --> mortenson
    • status: open --> open-fixed
     
  • Leif Mortenson

    Leif Mortenson - 2007-07-09
    • summary: Wrong recognized DIST_ARCH on HP UX --> Wrong recognized DIST_ARCH on HP UX [Fixed]
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.