Project

General

Profile

Actions

Bug #9304

closed

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

Added by Peter Grandi about 6 years ago. Updated over 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=*'
Actions #1

Updated by Peter Amstutz over 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF