|
|
@@ -1846,27 +1846,31 @@ function INSTALL_SES_PROCESY_A() {
|
|
|
|
|
|
//$ git clone /Library/Server/Web/Data/Sites/SE-production-git/ NOWY_KATALOG
|
|
|
$cmd='sudo rm -Rf '.$installer_dir_tar.'/'.$h->ID.'.'.$REMOTE_FOLDER_ROOT.'.git';
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
DEBUG_S(-3,'Usuwam stare pliki git ',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
{ //@2015-01-27 zrobienie gita z repozytorium
|
|
|
|
|
|
|
|
|
$cmd='cd '.$installer_dir_tar.' && sudo git clone git@biuro.biall-net.pl:plabudda/se.git '.$h->ID.'.'.$REMOTE_FOLDER_ROOT.'.git' ;
|
|
|
- exec($cmd);
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
+
|
|
|
|
|
|
}
|
|
|
|
|
|
if (1==0) { //@2015-01-27 - proba zrobienia zwyklego clone
|
|
|
$cmd='git clone /Library/Server/Web/Data/Sites/SE-production-git/ '.$installer_dir_tar.'/'.$h->ID.'.'.$REMOTE_FOLDER_ROOT.'.git';
|
|
|
DEBUG_S(-3,'Running command',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
//$ cd NOWY_KATALOG
|
|
|
//$ git checkout v3.9.4
|
|
|
$cmd='cd '.$h->ID.'.'.$REMOTE_FOLDER_ROOT.'.git && git checkout '.$h->VERSION_GIT;
|
|
|
- DEBUG_S(-3,'Running command',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
+ DEBUG_S(-3,'Running command',array($cmd,$out,$exit),__FILE__,__FUNCTION__,__LINE__);
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -1882,15 +1886,17 @@ function INSTALL_SES_PROCESY_A() {
|
|
|
|
|
|
{ //@2015-03-21 dogranie konfigow z repozytorium konfigow
|
|
|
$cmd='mkdir '.$INSTALL_ROOT.'/config/' ;
|
|
|
- DEBUG_S(-3,'We copy Install Root ',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
-
|
|
|
+
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
+ DEBUG_S(-3,'We copy Install Root ',array($cmd,$out,$exit),__FILE__,__FUNCTION__,__LINE__);
|
|
|
$cmd='cp '.$OPTIONS->SE_config.'/config/.cnf--column_init* '.$INSTALL_ROOT.'/config/' ;
|
|
|
- DEBUG_S(-3,'We copy Install Root ',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
+
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
+ DEBUG_S(-3,'We copy Install Root ',array($cmd,$out,$exit),__FILE__,__FUNCTION__,__LINE__);
|
|
|
$cmd='cp '.$OPTIONS->SE_config.'/config/.cnf--external_ids.ini.php* '.$INSTALL_ROOT.'/config/' ;
|
|
|
- DEBUG_S(-3,'We copy Install Root ',$cmd,__FILE__,__FUNCTION__,__LINE__);
|
|
|
- exec($cmd);
|
|
|
+
|
|
|
+ exec($cmd,$out,$exit);
|
|
|
+ DEBUG_S(-3,'We copy Install Root ',array($cmd,$out,$exit),__FILE__,__FUNCTION__,__LINE__);
|
|
|
}
|
|
|
}
|
|
|
|