AMBARI-18275. Ambari server upgrade script deletes all .pyc files (Dmitry Lysnichenko via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/114ccb3d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/114ccb3d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/114ccb3d Branch: refs/heads/branch-2.5 Commit: 114ccb3d5dc2df47f65492be8b945c106224d298 Parents: 90344e3 Author: Sumit Mohanty <[email protected]> Authored: Tue Aug 30 16:29:16 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Tue Aug 30 16:32:57 2016 -0700 ---------------------------------------------------------------------- ambari-server/conf/unix/install-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/114ccb3d/ambari-server/conf/unix/install-helper.sh ---------------------------------------------------------------------- diff --git a/ambari-server/conf/unix/install-helper.sh b/ambari-server/conf/unix/install-helper.sh index 07c5e50..369a56a 100644 --- a/ambari-server/conf/unix/install-helper.sh +++ b/ambari-server/conf/unix/install-helper.sh @@ -48,7 +48,7 @@ clean_pyc_files(){ # cleaning old *.pyc files find $RESOURCE_MANAGEMENT_DIR/ -name *.pyc -exec rm {} \; find $COMMON_DIR/ -name *.pyc -exec rm {} \; - find $AMBARI_SEVER/ -name *.pyc -exec rm {} \; + find $AMBARI_SERVER/ -name *.pyc -exec rm {} \; }
