Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

52nSOS: build error: fix osgeo.trac#1935 #168

Merged
merged 1 commit into from
Jun 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bin/install_52nSOS.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (c) 2011-2016 The Open Source Geospatial Foundation.
# Licensed under the GNU LGPL.
#
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 2.1 of the License,
Expand Down Expand Up @@ -74,7 +74,7 @@ echo "SOS_OVERVIEW_URL: $SOS_OVERVIEW_URL"
echo "SOS_VERSION: $SOS_VERSION"
echo "PG_OPTIONS: $PG_OPTIONS"
echo "PG_USER: $PG_USER"
echo "PG_SCRIPT_NAME: $PG_SCRIPT_NAME"
echo "PG_SCRIPT_NAME: $PG_SCRIPT_NAME"
echo "PG_DB_NAME: $PG_DB_NAME"
echo "JAVA_PKG: $JAVA_PKG"
#
Expand Down Expand Up @@ -203,9 +203,9 @@ mkdir -p -v "$SOS_WAR_INSTALL_FOLDER"
# 3.1 check for webapp set-up
#
if (test ! -d "$SOS_WAR_INSTALL_FOLDER/$SOS_WEB_APP_NAME") then
mv -v "$TMP/$SOS_WEB_APP_NAME##$SOS_VERSION.war" "$SOS_WAR_INSTALL_FOLDER"/
mv -v "$TMP/$SOS_WEB_APP_NAME.war" "$SOS_WAR_INSTALL_FOLDER"/
chown -v -R $TOMCAT_USER_NAME:$TOMCAT_USER_NAME \
"$SOS_WAR_INSTALL_FOLDER/$SOS_WEB_APP_NAME##$SOS_VERSION.war"
"$SOS_WAR_INSTALL_FOLDER/$SOS_WEB_APP_NAME.war"
echo "[$(date +%M:%S)]: $SOS_WEB_APP_NAME $SOS_VERSION installed in tomcat webapps folder"
else
echo "[$(date +%M:%S)]: $SOS_WEB_APP_NAME $SOS_VERSION already installed in tomcat"
Expand Down