Skip to content

Commit

Permalink
Move make_install to after package installation
Browse files Browse the repository at this point in the history
No functional change, just cosmetic (makes more sense this way).
  • Loading branch information
dmnks authored and pmatilai committed Oct 11, 2023
1 parent 03dd074 commit 0d03034
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/mktree.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ trap clean_up EXIT

case $CMD in
build)
rm -rf "$INST_DIR"
make_install $INST_DIR

mkdir -p $CACHE_DIR
echo "$RPM_MACROS" > $CACHE_DIR/.rpmmacros

Expand Down Expand Up @@ -164,6 +161,10 @@ case $CMD in
# Configure default shell for root user
cp -r $BASE_DIR/{etc/skel/.,/root}

# Add RPM installation layer
rm -rf "$INST_DIR"
make_install $INST_DIR

# Signal change to build system
touch mktree.output
;;
Expand Down

0 comments on commit 0d03034

Please sign in to comment.