File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ def generate_init(self) -> None:
179179 self .logger .info ("Running init generator functions" )
180180
181181 init = [self .config_dict ['shebang' ]]
182- init += ["# Generated by UGRD v%s" % __version__ ]
182+ init += ["# Generated by UGRD v%s" % __version__ ,
183+ f'echo "starting UGRD v{ __version__ } "' ]
183184
184185 # Run all included functions, so they get included
185186 self ._run_hook ('functions' , force_include = True )
@@ -199,7 +200,7 @@ def generate_init(self) -> None:
199200 if self .included_functions :
200201 init_funcs = self .generate_init_funcs ()
201202 self ._write ('init_funcs.sh' , init_funcs , 0o755 )
202- init .insert (2 , "source init_funcs.sh" )
203+ init .insert (3 , "source init_funcs.sh" )
203204 if custom_init :
204205 custom_init .insert (2 , "source /init_funcs.sh" )
205206
You can’t perform that action at this time.
0 commit comments