aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-core/distribution/catalog-all
diff options
context:
space:
mode:
authornancylizi <li.zi30@zte.com.cn>2016-08-31 14:22:36 +0800
committernancylizi <li.zi30@zte.com.cn>2016-08-31 14:22:36 +0800
commit2f74a6be8973eab31b8d097117d2d1d12366a0d9 (patch)
treedc85eccc822b822d403872735db3acceba7edc6a /catalog-core/distribution/catalog-all
parente2ce3e29258bdd8894b2a42fc88a3546d640a82e (diff)
modify catalog code fit for check style
Change-Id: I782b72fc1a4af37f20116fde624a4826d4154546 Signed-off-by: nancylizi <li.zi30@zte.com.cn>
Diffstat (limited to 'catalog-core/distribution/catalog-all')
-rw-r--r--catalog-core/distribution/catalog-all/src/main/assembly/shutdown.bat5
-rw-r--r--catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh8
-rw-r--r--catalog-core/distribution/catalog-all/src/main/assembly/startup.bat5
-rw-r--r--catalog-core/distribution/catalog-all/src/main/assembly/startup.sh6
4 files changed, 14 insertions, 10 deletions
diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.bat b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.bat
index 9697dbab..874d99d1 100644
--- a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.bat
+++ b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.bat
@@ -1,11 +1,11 @@
@REM
-@REM Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
+@REM Copyright 2016 [ZTE] and others.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,6 +13,7 @@
@REM See the License for the specific language governing permissions and
@REM limitations under the License.
@REM
+
@echo off
title catalog
diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh
index ae1999ab..cb144030 100644
--- a/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh
+++ b/catalog-core/distribution/catalog-all/src/main/assembly/shutdown.sh
@@ -1,12 +1,11 @@
-#!/bin/sh
-#
-# Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
+#
+# Copyright 2016 [ZTE] and others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
DIRNAME=`dirname $0`
RUNHOME=`cd $DIRNAME/; pwd`
echo @RUNHOME@ $RUNHOME
diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/startup.bat b/catalog-core/distribution/catalog-all/src/main/assembly/startup.bat
index 6dd72c8e..e015ee1e 100644
--- a/catalog-core/distribution/catalog-all/src/main/assembly/startup.bat
+++ b/catalog-core/distribution/catalog-all/src/main/assembly/startup.bat
@@ -1,11 +1,11 @@
@REM
-@REM Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
+@REM Copyright 2016 [ZTE] and others.
@REM
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM http://www.apache.org/licenses/LICENSE-2.0
@REM
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@@ -13,6 +13,7 @@
@REM See the License for the specific language governing permissions and
@REM limitations under the License.
@REM
+
@echo off
title catalog
diff --git a/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh b/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh
index 212ebdea..2e2dfe29 100644
--- a/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh
+++ b/catalog-core/distribution/catalog-all/src/main/assembly/startup.sh
@@ -1,12 +1,12 @@
#!/bin/sh
#
-# Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
+# Copyright 2016 [ZTE] and others.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,6 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+
+
DIRNAME=`dirname $0`
RUNHOME=`cd $DIRNAME/; pwd`
echo @RUNHOME@ $RUNHOME