Commit 63de9d75 authored by Ilya Veselov's avatar Ilya Veselov

fix dir

parent 8e3381c5
...@@ -7,14 +7,14 @@ set -e ...@@ -7,14 +7,14 @@ set -e
war_setting () { war_setting () {
local deployments_path="/opt/synergy/jboss/standalone/deployments" local deployments_path="/opt/synergy/jboss/standalone/deployments"
local tempdir="/tmp/crm-import"
chown jboss:synergy $deployments_path/import.war chown jboss:synergy $deployments_path/import.war
touch $deployments_path/import.war.dodeploy touch $deployments_path/import.war.dodeploy
if [ ! -d "$dir"_"$day" ] if [ ! -d "$tempdir" ]
then then
mkdir /tmp/crm-import mkdir "$tempdir"
chmod 777 -R /tmp/crm-import chmod 777 -R "$tempdir"
else else
echo "Directory crm-import already exists on server" echo "Directory crm-import already exists on server"
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment