Bug #9304

WB: slight improvement to copy-and-paste env token setup

Added by Peter Grandi over 5 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
05/26/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

When HISTIGNORE is not set this can be slightly inappropriate (e.g. in scripts run with option '-u' to BASH):

HISTIGNORE=$HISTIGNORE:'export ARVADOS_API_TOKEN=*'

This could be slightly more appropriate:

HISTIGNORE="${HISTIGNORE+$HISTIGNORE:}"'export ARVADOS_API_TOKEN=*'

History

#1 Updated by Peter Amstutz almost 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF