AMBARI-18275. Ambari server upgrade script deletes all .pyc files (dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f40228f3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f40228f3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f40228f3

Branch: refs/heads/AMBARI-2.4.0.2
Commit: f40228f3221f5cc0ce522a048d6306a6d8ae7f7f
Parents: 547cb41
Author: Lisnichenko Dmitro <[email protected]>
Authored: Tue Aug 30 18:50:47 2016 +0300
Committer: Lisnichenko Dmitro <[email protected]>
Committed: Tue Aug 30 18:50:47 2016 +0300

----------------------------------------------------------------------
 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/f40228f3/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 {} \;
 }
 
 

Reply via email to