Skip to content

Commit

Permalink
fix renamestruct.sh: remove the bashism == -> =
Browse files Browse the repository at this point in the history
  • Loading branch information
jmellorcrummey committed May 13, 2022
1 parent 982e86b commit c96309c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool/hpcstruct/renamestruct.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ oldname=`grep "<LM" $2 | head -1 | awk '{print $3}' | sed '/n="/s///' | sed '/g
# echo DEBUG newname = $1

# Check to see if the two names match
if [ "$oldname" == "$1" ] ; then
if [ "$oldname" = "$1" ] ; then
# they match, we're done
# echo DEBUG Pathname matched
exit 0
Expand Down

0 comments on commit c96309c

Please sign in to comment.