From 0b445ff6f8d96b59a72ef16c5350ff4be9593312 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 10 May 2021 08:33:26 +0000 Subject: cpt: bump to 6.0.3 FossilOrigin-Name: b757289ac9f697e9d61edfc371f0513d732d6f113f094464e4d896d52c540022 --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 029eaf0..5bc74b3 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # Carbs Packaging Tools -VERSION = 6.0.2 +VERSION = 6.0.3 # Installation paths PREFIX = /usr/local -- cgit v1.2.3 From ba98f20b2e4c5e81e61a16f1ff8869831078f0d3 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 12 May 2021 08:30:14 +0000 Subject: main(): fix $pid naming location. FossilOrigin-Name: cac0d2ddb5a2e8e68871a5d5f8cbb90ea97c5289527467fcf24d45a3f018a958 --- src/cpt-lib.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cpt-lib.in b/src/cpt-lib.in index 930c426..d6fa0a4 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -1989,6 +1989,12 @@ create_cache() { eval set -- "$REST" } + # The PID of the current shell process is used to isolate directories + # to each specific CPT instance. This allows multiple package manager + # instances to be run at once. Store the value in another variable so + # that it doesn't change beneath us. + pid=${CPT_PID:-$$} + # Create the cache directories for CPT and set the variables which point # to them. This is seperate from temporary directories created in # create_cache(). That's because we need these variables set on most @@ -2008,12 +2014,6 @@ create_cache() { # Set the location to the repository and package database. pkg_db=var/db/cpt/installed - # The PID of the current shell process is used to isolate directories - # to each specific CPT instance. This allows multiple package manager - # instances to be run at once. Store the value in another variable so - # that it doesn't change beneath us. - pid=${CPT_PID:-$$} - # Force the C locale to speed up things like 'grep' which disable unicode # etc when this is set. We don't need unicode and a speed up is always # welcome. -- cgit v1.2.3 From e52714d4611f0012c331e951f1ec83b91da48996 Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 12 May 2021 13:33:50 +0000 Subject: CHANGELOG: update FossilOrigin-Name: a91462d23461a3cae3b6ed76c91c384f1a2049529fdf04c3f9e3e6bd6d7f80c7 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eca8b0a..90e5b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ this project _somewhat_ adheres to [Semantic Versioning]. [Semantic Versioning]: https://semver.org/spec/v2.0.0.html +6.0.4 - 2021-05-12 +-------------------------------------------------------------------------------- + +### Fixed +- Fixed the declaration place of the `$pid` variable + + 6.0.3 - 2021-05-10 -------------------------------------------------------------------------------- -- cgit v1.2.3