Skip to content

Commit 51b9705

Browse files
committed
Adjust php version path for removal.
1 parent f626bd8 commit 51b9705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hst_autocompile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ if [ "$PHP_B" = true ] ; then
570570

571571
# clear up the source folder
572572
if [ "$KEEPBUILD" != 'true' ]; then
573-
rm -r $BUILD_DIR/php-$PHP_V
573+
rm -r $BUILD_DIR/php-$(echo $PHP_V |cut -d"~" -f1)
574574
rm -r $BUILD_DIR/openssl
575575
rm -r $BUILD_DIR_HESTIAPHP
576576
if [ "$use_src_folder" == 'true' ] && [ -d $BUILD_DIR/hestiacp-$branch_dash ]; then

0 commit comments

Comments
 (0)