Last change
on this file since 36493 was 36493, checked in by davidb, 21 months ago |
Need to untar if not already done
|
-
Property svn:executable
set to
*
|
File size:
1.0 KB
|
Rev | Line | |
---|
[36488] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[36493] | 3 | if [ ! -d webswing-20.2.5 ] ;
|
---|
| 4 |
|
---|
| 5 | echo "****"
|
---|
| 6 | echo "* Untarring Webswing"
|
---|
| 7 | echo "****"
|
---|
| 8 |
|
---|
| 9 | tar xvzf webswing-20.2.5.tar.gz
|
---|
| 10 | fi
|
---|
| 11 |
|
---|
[36488] | 12 | echo "****"
|
---|
| 13 | echo "* Compiling up Webswing"
|
---|
| 14 | echo "****"
|
---|
| 15 |
|
---|
| 16 | if [ ! -d /.Trash-$UID ] ; then
|
---|
| 17 |
|
---|
| 18 | echo ""
|
---|
| 19 | echo "If compiling up Webswing on a disk partition different to /home/$USER area"
|
---|
| 20 | echo "then the Gnome-based 'trash' command needs to have the following writable directory:"
|
---|
| 21 | echo " /.Trash-$UID"
|
---|
| 22 | echo ""
|
---|
| 23 | echo "Otherwise, webswing-driectdraw-javascript files with the file-permission error:"
|
---|
| 24 | echo " Error: EACCES: permission denied, mkdir '/.Trash-$UID'"
|
---|
| 25 | echo ""
|
---|
| 26 | echo "This can be addressed by running:"
|
---|
| 27 | echo " sudo mkdir /.Trash-\$UID && sudo chown \$USER:\$USER /.Trash-\$UID"
|
---|
| 28 | echo ""
|
---|
| 29 |
|
---|
| 30 | echo "If required, press ^C to exit, and then run the above command"
|
---|
| 31 | echo "Sleeping for 5 seconds ..."
|
---|
| 32 | sleep 5
|
---|
| 33 | fi
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | echo cd webswing-20.2.5 && mvn -Pbuild,release clean install
|
---|
| 37 | cd webswing-20.2.5 && mvn -Pbuild,release clean install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.