eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [3/3] incubator-eagle git commit: EAGLE-199 gzip lib/EAGLE/package/patches/app.js lib/EAGLE/package/patches/app.js.gz avoiding binary file in source code
Date Mon, 14 Mar 2016 06:21:58 GMT
EAGLE-199 gzip lib/EAGLE/package/patches/app.js lib/EAGLE/package/patches/app.js.gz avoiding
binary file in source code


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

Branch: refs/heads/master
Commit: bdd79e46c3cc4a422065a7c829f5a9d320538332
Parents: 91b1956
Author: Hao Chen <hao@apache.org>
Authored: Mon Mar 14 14:21:44 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Mon Mar 14 14:21:44 2016 +0800

----------------------------------------------------------------------
 eagle-external/eagle-ambari/bin/eagle-ambari.sh |      3 +
 .../lib/EAGLE/package/patches/app.js            | 173797 ++++++++++++++++
 .../lib/EAGLE/package/patches/app.js.gz         |    Bin 768285 -> 0 bytes
 3 files changed, 173800 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/bdd79e46/eagle-external/eagle-ambari/bin/eagle-ambari.sh
----------------------------------------------------------------------
diff --git a/eagle-external/eagle-ambari/bin/eagle-ambari.sh b/eagle-external/eagle-ambari/bin/eagle-ambari.sh
index d392e61..63f831b 100755
--- a/eagle-external/eagle-ambari/bin/eagle-ambari.sh
+++ b/eagle-external/eagle-ambari/bin/eagle-ambari.sh
@@ -101,6 +101,9 @@ function install(){
 
 	# 3. Install eagle quick links
 	echo "> Installing eagle quick links"
+	if [ ! -e lib/EAGLE/package/patches/app.js.gz ];then
+		gzip lib/EAGLE/package/patches/app.js lib/EAGLE/package/patches/app.js.gz
+	fi
 	cp lib/EAGLE/package/patches/app.js.gz $AMBARI_SERVER_APP_JS
 
 	# create


Mime
View raw message