Project

General

Profile

Actions

Bug #9304

closed

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

Added by Peter Grandi almost 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
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 about 4 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF