소스 검색

Update ioncube.sh

FusionPBX 6 년 전
부모
커밋
6abd0efadf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      debian/resources/ioncube.sh

+ 2 - 2
debian/resources/ioncube.sh

@@ -21,8 +21,8 @@ unzip ioncube_loaders_lin_x86-64.zip
 rm ioncube_loaders_lin_x86-64.zip
 
 #remove the ioncube directory if it exists
-if [ -d "ioncube" ]; then
-        rm -Rf ioncube
+if [ -d "$(dirname "$0")/ioncube" ]; then
+        rm -Rf $(dirname "$0")/ioncube
 fi
 
 #copy the loader to the correct directory