Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

Commit

Permalink
getenv returns nil if var name string is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
alandipert committed Dec 6, 2013
1 parent adad851 commit 380b959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gherkin
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ apply_primitive() {
r="$ret"
;;
$GETENV)
eval "r=\$${arg0}"
[[ -n "$arg0" ]] && eval "r=\$${arg0}"
[[ -z "$r" ]] && r=$NIL
;;
$EVAL) lisp_eval "$arg0" ;;
Expand Down

0 comments on commit 380b959

Please sign in to comment.