diff options
author | merakor <cem@ckyln.com> | 2020-05-14 10:44:26 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-14 10:44:26 +0000 |
commit | 6a4e02766624574ddbafe87472afd1a47de8e090 (patch) | |
tree | 4b6868a2c9b02a9f1a4002d9f64db5ecc00e95ad | |
parent | eedf19364e9554a20c5fbd677788bf82539a1b77 (diff) | |
download | cpt-6a4e02766624574ddbafe87472afd1a47de8e090.tar.gz |
kiss: don't create pkg_db on KISS_ROOT automatically
Co-authored-by: Dylan Araps <dylan.araps@gmail.com>
FossilOrigin-Name: c74e5fc121ff76fe6c89909ecdcbbba78c4fd027fa08746169668ee3d0f7f992
-rwxr-xr-x | kiss | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1584,9 +1584,13 @@ main() { KISS_ROOT=${KISS_ROOT%/} } + # Define this variable but don't create its directory structure from + # the get go. It will be created as needed by package installation. + sys_db=$KISS_ROOT/$pkg_db + # This allows for automatic setup of a KISS chroot and will # do nothing on a normal system. - mkdir -p "${sys_db:=$KISS_ROOT/$pkg_db}" 2>/dev/null ||: + mkdir -p "$KISS_ROOT/" 2>/dev/null ||: # A temporary directory can be specified apart from the cache # directory in order to build in a user specified directory. |