Skip to content

Commit

Permalink
qnd: scripts moved to the core
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://kelev.kaltura.com/usr/local/kalsource/backend/server/trunk/core@100106 6b8eccd3-e8c5-4e7d-8186-e12b5326b719
  • Loading branch information
tantan committed Jun 19, 2013
1 parent 859749d commit 310ee19
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion deployment/base/scripts/insertPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
require_once('../../bootstrap.php');

$dirPath = realpath(__DIR__ . '/../../') . '/permissions';
$scriptPath = realpath(__DIR__ . '/../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$scriptPath = realpath(__DIR__ . '/../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';

$options = getopt('d:');
if(isset($options['d']))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '../../../../') . '/permissions/service.batch.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.adminconsole.reportadmin.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../../') . '/plugins/external_media/config/permissions.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '../../../../') . '/permissions/object.KalturaPartner.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.thumbasset.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.shortlink.shortlink.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/partner.0.ini';
passthru("php $script $config");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.tagsearch.tag.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../') . '/permissions/service.document.documents.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../') . '/permissions/service.flavorasset.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../') . '/permissions/service.system.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../') . '/permissions/object.KalturaCuePoint.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__) . '/../../../') . '/permissions/object.KalturaBaseEntry.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.stats.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/object.KalturaLiveStreamEntry.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/partner.-2.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/service.captionsearch.captionassetitem.ini';
passthru("php $script $config");
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/partner.0.ini';
passthru("php $script $config");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* No need to re-run after server code deploy
*/

$script = realpath(dirname(__FILE__) . '/../../../../') . '/scripts/utils/permissions/addPermissionsAndItems.php';
$script = realpath(dirname(__FILE__) . '/../../../../') . '/alpha/scripts/utils/permissions/addPermissionsAndItems.php';
$config = realpath(dirname(__FILE__)) . '/../../../permissions/partner.0.ini';
passthru("php $script $config");

Expand Down

0 comments on commit 310ee19

Please sign in to comment.