Explorar el Código

Adjust php version path for removal.

Raphael Schneeberger hace 4 años
padre
commit
51b9705716
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/hst_autocompile.sh

+ 1 - 1
src/hst_autocompile.sh

@@ -570,7 +570,7 @@ if [ "$PHP_B" = true ] ; then
 
     # clear up the source folder
     if [ "$KEEPBUILD" != 'true' ]; then
-        rm -r $BUILD_DIR/php-$PHP_V
+        rm -r $BUILD_DIR/php-$(echo $PHP_V |cut -d"~" -f1)
         rm -r $BUILD_DIR/openssl
         rm -r $BUILD_DIR_HESTIAPHP
         if [ "$use_src_folder" == 'true' ] && [ -d $BUILD_DIR/hestiacp-$branch_dash ]; then