[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path
From: |
guix-commits |
Subject: |
01/09: guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path. |
Date: |
Fri, 30 Apr 2021 08:25:05 -0400 (EDT) |
apteryx pushed a commit to branch version-1.3.0
in repository guix.
commit 8214e70fa8da95683cccdf45c674b8be755c27db
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 24 23:16:53 2021 -0400
guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.
This is necessary as the directory context is changed in the script,
breaking
the use of a relative path.
* etc/guix-install.sh (main) <GUIX_BINARY_FILE_NAME>: Resolve its absolute
path via the 'realpath' command.
---
etc/guix-install.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 168bf72..fb221ab 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -563,6 +563,7 @@ main()
_err "$ARCH_OS not in ${GUIX_BINARY_FILE_NAME}; aborting"
fi
_msg "Using manually provided binary ${GUIX_BINARY_FILE_NAME}"
+ GUIX_BINARY_FILE_NAME=$(realpath $GUIX_BINARY_FILE_NAME)
fi
sys_create_store "${GUIX_BINARY_FILE_NAME}" "${tmp_path}"
- branch version-1.3.0 updated (68110f7 -> 9bf205e), guix-commits, 2021/04/30
- 02/09: Makefile.am: Remove the GUIX_FOR_BINARY_TARBALL variable., guix-commits, 2021/04/30
- 05/09: build: Have the release target depend on 'all'., guix-commits, 2021/04/30
- 08/09: gnu: guix: Update to 1.3.0rc1., guix-commits, 2021/04/30
- 06/09: build: Build the guix.pot-update and contributing.pot-update targets only once., guix-commits, 2021/04/30
- 01/09: guix-install.sh: Ensure GUIX_BINARY_FILE_NAME is an absolute path.,
guix-commits <=
- 03/09: build: Update and add new comments for the release target., guix-commits, 2021/04/30
- 09/09: gnu: guix: Update to 6fd7f16., guix-commits, 2021/04/30
- 04/09: build: Add the qcow2 file extension to the VM image., guix-commits, 2021/04/30
- 07/09: build: Make doc-po-update and doc-pot-update targets idempotent., guix-commits, 2021/04/30