diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-11 17:11:28 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-01-11 17:11:28 +0100 |
commit | 39636be7b018b9121696ce7bdc462ab2c3c8185d (patch) | |
tree | 08e33b02dce0082db08584ad6e09be1f4653bf41 /src/main/unix/files/scripts/postinstall | |
parent | 4e9d5b5a447144c910c2698975157ee296e2eac8 (diff) | |
download | esper-testing-39636be7b018b9121696ce7bdc462ab2c3c8185d.tar.gz esper-testing-39636be7b018b9121696ce7bdc462ab2c3c8185d.tar.bz2 esper-testing-39636be7b018b9121696ce7bdc462ab2c3c8185d.tar.xz esper-testing-39636be7b018b9121696ce7bdc462ab2c3c8185d.zip |
o Creating bin/web for running the web application.
Diffstat (limited to 'src/main/unix/files/scripts/postinstall')
-rwxr-xr-x | src/main/unix/files/scripts/postinstall | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/main/unix/files/scripts/postinstall b/src/main/unix/files/scripts/postinstall index a0314dc..37c202e 100755 --- a/src/main/unix/files/scripts/postinstall +++ b/src/main/unix/files/scripts/postinstall @@ -1,10 +1,18 @@ #!/bin/bash -ln -s ../../../../etc/config.properties etc/config.properties +case "`uname -s`" in + CYGWIN*) + cp ../../../etc/config.properties etc/config.properties + mkdir -p logs/ + ;; + *) + ln -s ../../../../etc/config.properties etc/config.properties -if [ ! -d ../../../logs ] -then - mkdir ../../../logs -fi + if [ ! -d ../../../logs ] + then + mkdir ../../../logs + fi -ln -s ../../../logs + ln -s ../../../logs + ;; +esac |