Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Sep 7, 2024
1 parent 111d921 commit aadef65
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ppkg
Original file line number Diff line number Diff line change
Expand Up @@ -4794,11 +4794,16 @@ EOF

#########################################################################################

PACKAGE_UUID="$TARGET_PLATFORM_SPEC/$PACKAGE_INSTALL_SHA"

#########################################################################################

PACKAGE_WORKING_DIR="$SESSION_DIR/$PACKAGE_SPEC"
PACKAGE_BCACHED_DIR="$PACKAGE_WORKING_DIR/src/_"
PACKAGE_BSCRIPT_DIR="$PACKAGE_WORKING_DIR/src/$PACKAGE_BSCRIPT"
PACKAGE_BSCRIPT_DIR="${PACKAGE_BSCRIPT_DIR%/}"
PACKAGE_INSTALL_DIR="$PPKG_PACKAGE_INSTALLED_ROOT/$TARGET_PLATFORM_SPEC/$PACKAGE_INSTALL_SHA"
PACKAGE_INSTALL_DIR="$PPKG_PACKAGE_INSTALLED_ROOT/$PACKAGE_UUID"
PACKAGE_LINKAGE_DIR="$PPKG_PACKAGE_INSTALLED_ROOT/$PACKAGE_SPEC"

#########################################################################################

Expand Down Expand Up @@ -6749,7 +6754,7 @@ $PACKAGE_ONFINAL
__generate_receipt_of_the_given_package "$1"

step "generate index"
run ln -s -r -f -T "$PACKAGE_INSTALL_DIR" "$PPKG_PACKAGE_INSTALLED_ROOT/$PACKAGE_SPEC"
run ln -s -r -f -T "$PACKAGE_INSTALL_DIR" "$PACKAGE_LINKAGE_DIR"

#########################################################################################

Expand Down

0 comments on commit aadef65

Please sign in to comment.