From 156ef76b19f8e730b5465b18e8c26660a39dfe31d90ea065d40b8e0744d8d44a Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 12 Mar 2018 19:23:13 +0000 Subject: [PATCH] Accepting request 586048 from home:eeich:branches:science:HPC - Append a newline to the shebang line prepended by the %hpc_shebang_prepend_list macro (boo#1084951). OBS-URL: https://build.opensuse.org/request/show/586048 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=22 --- macros.hpc | 2 +- suse-hpc.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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