taskManeage - Tasks: task #15525, project and configure.sh scripts...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #15525: project and configure.sh scripts should be in POSIX shell

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Tue 21 Jan 2020 02:42:21 PM UTC
   
 
Should Start On:  Tue 21 Jan 2020 12:00:00 AM UTC Should be Finished on:  Tue 21 Jan 2020 12:00:00 AM UTC
Category:  Software Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Assigned to:  makhlaghi Percent Complete:  100%
Open/Closed:  Closed Effort:  0.00

Thu 23 Jan 2020 07:21:28 PM UTC, comment #2: 

This task has been effectively completed by just changing the hashbangs of these two scripts! From now on, if we confront errors on systems that don't use Bash, we'll treat them as bugs and will fix them.

The change has been pushed to the main repository.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 21 Jan 2020 04:29:58 PM UTC, comment #1: 

I just wanted to add that it is possible to run Bash in a POSIX-mode, either by running it with `--posix' or including `set -o posix' in the script. For more, see the Bash POSIX mode in its manual.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Tue 21 Jan 2020 02:42:21 PM UTC, original submission:  

These high-level scripts must not assume GNU Bash. Currently they do (by starting with the `!#/bin/bash' hashbang) because I haven't had time to test them on a POSIX-only shell. But we should find a way to test the template in a POSIX-only shell and remove all the Bash features.

Early in the configuration of the project we build GNU Bash and higher-level steps can safely assume GNU Bash, but not these two scripts.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-23 makhlaghi Percent Complete0% 100%
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code