Skip to content

Commit

Permalink
Fix main gridlabd script
Browse files Browse the repository at this point in the history
Signed-off-by: David P. Chassin <david.chassin@me.com>
  • Loading branch information
dchassin committed Sep 30, 2023
1 parent e3a975f commit a4a3fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/gridlabd.in
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ then :
. ${GLD_ETC}/gridlabd.rc
fi

if test x$1 = xshell
if test "x$1 "= "xshell"
then :
shift 1; $SHELL $@; exit $?
fi
Expand Down
2 changes: 1 addition & 1 deletion source/gridlabd.m4sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ AS_IF([test -f "${GLD_ETC}/gridlabd.rc"],
[. ${GLD_ETC}/gridlabd.rc],
[])

AS_IF([test x$1 = xshell],
AS_IF([test "x$1" = "xshell"],
[shift 1; $SHELL $@; exit $?],
[])

Expand Down

0 comments on commit a4a3fe7

Please sign in to comment.