diff --git a/macros.hpc b/macros.hpc index 55f351c..f91083d 100644 --- a/macros.hpc +++ b/macros.hpc @@ -583,7 +583,7 @@ The package %{n_name}%{_p_ext} provides the dependency to get the latest version if [[ $line =~ \\#\\!.* ]]; then \ true \ else \ - sed -i -e "1s;^;$_hpc_newline;" $file; \ + sed -i -e "1s;^;$_hpc_newline\\n;" $file; \ fi \ chmod a+x $file \ fi \ diff --git a/suse-hpc.changes b/suse-hpc.changes index d1ad338..31b2632 100644 --- a/suse-hpc.changes +++ b/suse-hpc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 12 19:20:16 UTC 2018 - eich@suse.com + +- Append a newline to the shebang line prepended by the + %hpc_shebang_prepend_list macro (boo#1084951). + ------------------------------------------------------------------- Sun Feb 25 19:03:15 UTC 2018 - eich@suse.com