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/f45e9054
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f45e9054
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f45e9054

Branch: refs/heads/trunk
Commit: f45e9054d724e53f78cc3dd8768da6587909c8f4
Parents: 1463985
Author: Sumit Mohanty <[email protected]>
Authored: Tue Aug 30 16:29:16 2016 -0700
Committer: Sumit Mohanty <[email protected]>
Committed: Tue Aug 30 16:33:27 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/f45e9054/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