Project

General

Profile

Feature #9372

Use 'set -e' and 'set -u' in every shell script where reasonably doable

Added by intrigeri over 4 years ago. Updated 8 months ago.

Status:
In Progress
Priority:
Elevated
Assignee:
Category:
-
Target version:
-
Start date:
05/11/2015
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

This would help catching bugs earlier.


Subtasks

Bug #9371: Use 'set -u' in gettextized shell scriptsResolved


Related issues

Related to Tails - Feature #6452: Factor out stuff into a Tails Python library Confirmed 11/29/2013

Associated revisions

Revision e0b7a862 (diff)
Added by kurono 8 months ago

adds "set -u" to the scripts that already have "set -e" and changes
some scripts that fail when buiding. refs #9372

Revision 9687cf2b (diff)
Added by kurono 8 months ago

adds "set -u" and "set -e" to scripts that don't have any of them
or only have one. refs #9372

Revision 26526b4f (diff)
Added by kurono 5 months ago

fix bash problem error in 00-resolv-over-clearnet. refs #9372.

History

#1 Updated by intrigeri about 4 years ago

  • Assignee set to kurono

#2 Updated by intrigeri almost 4 years ago

  • Related to Feature #6452: Factor out stuff into a Tails Python library added

#3 Updated by intrigeri almost 4 years ago

This is the last remaining ticket on the obsolete "Hardening_M1" milestone (that doesn't mean much anymore, since we have our new roadmap). kurono, please consider moving this ticket to e.g. the 2016 or 2017 milestone, or just emptying the Target version field entirely.

#4 Updated by kurono almost 4 years ago

  • Target version changed from Hardening_M1 to 2016

#5 Updated by BitingBird over 3 years ago

  • Status changed from Confirmed to In Progress

#6 Updated by intrigeri over 3 years ago

  • Target version deleted (2016)

This got removed from our roadmap, but it would still be nice to have. Make sure to coordinate with #11198, to avoid working on stuff that's being ported to Python.

#7 Updated by kurono over 2 years ago

  • Target version set to 2018

I will wait until it is clear which scripts are being ported.

#8 Updated by intrigeri over 2 years ago

  • Target version changed from 2018 to Tails_3.5

Moving to the 1st release we have in 2018: target versions like "2018" are here for items that are on our roadmap, and this one is not there.

#9 Updated by kurono almost 2 years ago

  • Target version changed from Tails_3.5 to Tails_3.8

#10 Updated by intrigeri over 1 year ago

  • Target version changed from Tails_3.8 to Tails_3.9

#11 Updated by kurono over 1 year ago

  • Target version changed from Tails_3.9 to 2019

#12 Updated by intrigeri over 1 year ago

  • Target version changed from 2019 to Tails_4.0

(This is not on our roadmap, so I'm setting "Target version" to the latest 2019 release we're already tracking.)

#13 Updated by intrigeri 8 months ago

  • Target version deleted (Tails_4.0)

Also available in: Atom PDF