From 6627a81201089a211c8f92f0397a299905391691 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 3 Dec 2021 18:36:18 +0800 Subject: [PATCH] Update exif.sh --- plugins/php/versions/52/exif.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/php/versions/52/exif.sh b/plugins/php/versions/52/exif.sh index 77011b537..5d7ec2167 100755 --- a/plugins/php/versions/52/exif.sh +++ b/plugins/php/versions/52/exif.sh @@ -4,6 +4,8 @@ export PATH curPath=`pwd` +appPath=$(dirname "$curPath") + rootPath=$(dirname "$curPath") rootPath=$(dirname "$rootPath") rootPath=$(dirname "$rootPath") @@ -39,9 +41,7 @@ Install_lib() if [ ! -f "$extFile" ];then if [ ! -d $sourcePath/php${version}/ext ];then - sh $curPath/install.sh - echo $curPath - /bin/bash $curPath/install.sh install ${version} + cd $serverPath/mdserver-web/plugins/php && /bin/bash install.sh install ${version} fi