Skip to content
Snippets Groups Projects
Commit 6e5fed29 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Avoid unbound variable error when PS1 unset

parent 1c6f5c17
Branches
Tags
1 merge request!195Avoid unbound variable error when PS1 unset
...@@ -21,6 +21,7 @@ export JUGGLER_BEAMLINE_CONFIG_VERSION=$BEAMLINE_CONFIG_VERSION ...@@ -21,6 +21,7 @@ export JUGGLER_BEAMLINE_CONFIG_VERSION=$BEAMLINE_CONFIG_VERSION
export JUGGLER_INSTALL_PREFIX=/usr/local export JUGGLER_INSTALL_PREFIX=/usr/local
## modify PS1 for this detector version ## modify PS1 for this detector version
export PS1="${{PS1}}"
export PS1="{branch}${{PS1_SIGIL}}>${{PS1#*>}}" export PS1="{branch}${{PS1_SIGIL}}>${{PS1#*>}}"
unset branch unset branch
''' '''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment