Skip to content

Commit

Permalink
fixed DIRP_LATEST_FILE being set to NONE
Browse files Browse the repository at this point in the history
  • Loading branch information
karlredman committed Jun 14, 2019
1 parent 11d601c commit b659f87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dirp.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
## defined before this file is sourced.
############################################

if [ -z ${DIRP_LATEST_FILE+notArealVariable} ];then
if [ -z ${DIRP_LATEST_FILE+notArealVariable} ] || [ ${DIRP_LATEST_FILE} = "NONE" ];then
# TODO: figure out why this gets set to NONE
DIRP_LATEST_FILE="/tmp/dirp_latest"
fi

#
if [ -z ${DIRP_PROJECTS_DIR+notArealVariable} ];then
DIRP_PROJECTS_DIR="$HOME/dirlists"
fi
Expand Down

0 comments on commit b659f87

Please sign in to comment.