From 8d63ccfdc540df68ee7ff1ad8afcc128773c557816b6c120af94a08053525910 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Thu, 3 Oct 2019 12:03:41 +0000 Subject: [PATCH] Accepting request 734379 from home:lnussel:branches:Base:System - don't call 'cd' avoid relying on $HOME beeing set during rpm installation OBS-URL: https://build.opensuse.org/request/show/734379 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=88 --- pcp.changes | 5 +++++ pcp.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pcp.changes b/pcp.changes index 838a72e..7c80ab7 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 1 15:17:34 UTC 2019 - Ludwig Nussel + +- don't call 'cd' avoid relying on $HOME beeing set during rpm installation + ------------------------------------------------------------------- Wed Aug 28 10:17:39 UTC 2019 - David Disseldorp diff --git a/pcp.spec b/pcp.spec index f061236..2074588 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2890,8 +2890,7 @@ chmod 644 "$PCP_PMNS_DIR/.NeedRebuild" %endif %endif -cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild -cd +(cd $PCP_PMNS_DIR && ./Rebuild -s && rm -f .NeedRebuild) %post -n %{lib_pkg} -p /sbin/ldconfig %postun -n %{lib_pkg} -p /sbin/ldconfig