@@ -99,8 +99,8 @@ subroutine box3(version,date,commit,author)
99
99
write (* ,' (a,a)' ) repeat (" " ,pad_left),trim (logo(i))
100
100
end do
101
101
write (* ,' (a,'' Version '' ,a,'' , '' ,a)' ) repeat (" " ,pad_left),trim (version),trim (date)
102
- if (author(1 :1 ).eq. ' @ ' )then
103
- write (* ,' (a,"commit (",a,") compiled by ",a)' ) repeat (" " ,pad_left),commit,' usr' // author
102
+ if (author(1 :2 ).eq. " '@ " )then
103
+ write (* ,' (a,"commit (",a,") compiled by ",a)' ) repeat (" " ,pad_left),commit," 'usr" // author( 2 :)
104
104
else
105
105
write (* ,' (a,"commit (",a,") compiled by ",a)' ) repeat (" " ,pad_left),commit,author
106
106
endif
@@ -719,12 +719,13 @@ subroutine print_crest_metadata()
719
719
! * print metadata from include
720
720
! ********************************
721
721
include ' crest_metadata.fh'
722
-
722
+ integer :: l
723
723
write (* ,' (2x,a,1x,a)' ) ' CREST version :' ,version
724
724
write (* ,' (2x,a,1x,a)' ) ' timestamp :' ,date
725
725
write (* ,' (2x,a,1x,a)' ) ' commit :' ,commit
726
- if (author(1 :1 ).eq. ' @' )then
727
- write (* ,' (2x,a,1x,a)' ) ' compiled by :' ,' usr' // author
726
+ if (author(1 :2 ).eq. " '@" )then
727
+ l = len_trim (author)
728
+ write (* ,' (2x,a,1x,a)' ) ' compiled by :' ," 'usr" // author(2 :l)
728
729
else
729
730
write (* ,' (2x,a,1x,a)' ) ' compiled by :' ,author
730
731
endif
0 commit comments