diff options
author | jimmydot <jf2512@att.com> | 2017-05-08 18:00:46 -0400 |
---|---|---|
committer | jimmydot <jf2512@att.com> | 2017-05-08 18:00:46 -0400 |
commit | 8b8addd807e135911ee3b15b9323b4e78a543a20 (patch) | |
tree | 55a16dfaada06ae57318054386a7a4fb60ee9315 /deliveries/src/main/scripts/localize.sh | |
parent | bf9dd44f0417623b35ed7631727325b510d61b3d (diff) |
[VID-6] Strip carriage returns from scripts
Change-Id: I96e3eaaf48c7bd4d98a9fdcc1f5d6f9ec489302d
Signed-off-by: jimmydot <jf2512@att.com>
Diffstat (limited to 'deliveries/src/main/scripts/localize.sh')
-rwxr-xr-x | deliveries/src/main/scripts/localize.sh | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/deliveries/src/main/scripts/localize.sh b/deliveries/src/main/scripts/localize.sh index e72d622b4..3966f7023 100755 --- a/deliveries/src/main/scripts/localize.sh +++ b/deliveries/src/main/scripts/localize.sh @@ -1,18 +1,18 @@ -#!/bin/bash
-
-#Extract the WAR so it can be customized by the localization script
-cd /tmp/vid/stage
-jar -xf vid.war
-
-source /tmp/vid/localize_war.sh || {
- echo "ERROR: Localization script failed"
- exit 2
-}
-
-#Create the customized WAR and deploy it to Tomcat
-mkdir -p /tmp/vid/deployed
-cd /tmp/vid/stage
-jar -cvf /tmp/vid/deployed/vid.war .
-cd
-mv -f /tmp/vid/deployed/vid.war /usr/local/tomcat/webapps
-catalina.sh run
+#!/bin/bash + +#Extract the WAR so it can be customized by the localization script +cd /tmp/vid/stage +jar -xf vid.war + +source /tmp/vid/localize_war.sh || { + echo "ERROR: Localization script failed" + exit 2 +} + +#Create the customized WAR and deploy it to Tomcat +mkdir -p /tmp/vid/deployed +cd /tmp/vid/stage +jar -cvf /tmp/vid/deployed/vid.war . +cd +mv -f /tmp/vid/deployed/vid.war /usr/local/tomcat/webapps +catalina.sh run |