Menu

#1 linux shell issues

1.0
closed
None
2020-01-25
2019-12-18
No

All scripts must updated to /bin/bash instead of /bin/sh. Many distributions uses dash (which is ash) for default shell. Actually not a problem but ./gen does not work :)

Discussion

  • Trevor Blight

    Trevor Blight - 2019-12-18

    Under investigation

    The issue is that some scripts have bash-only constructs, and and these fail when the default shell is not bash.

    The solution is either:
    1. modify the scripts to be purely sh compatible
    2. demand that all environments include bash

    Quick fix: edit the top line for any failing scripts from

    1
    #!/bin/sh
    

    to

    1
    #!/bin/bash
    
     
  • Trevor Blight

    Trevor Blight - 2019-12-18
    • status: open --> accepted
    • assigned_to: Trevor Blight
     
  • Trevor Blight

    Trevor Blight - 2020-01-01

    fix committed in svn revision 66:
    https://sourceforge.net/p/pascal-p5c/code/HEAD/tree/

    Tested on Ubuntu live 19.10

    Main release should happen in a couple of weeks after testing on a wider variety of systems

     
  • Trevor Blight

    Trevor Blight - 2020-01-14

    Fix now incorporated in new release, 1.2.

    Nicholas: can you confirm this is now working OK for you?

     

    Last edit: Trevor Blight 2020-01-14
  • Trevor Blight

    Trevor Blight - 2020-01-25
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel