svn commit: r1778576 - in /ofbiz/trunk/tools: rc.ofbiz rc.ofbiz.for.debian

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1778576 - in /ofbiz/trunk/tools: rc.ofbiz rc.ofbiz.for.debian

jleroux@apache.org
Author: jleroux
Date: Fri Jan 13 12:55:03 2017
New Revision: 1778576

URL: http://svn.apache.org/viewvc?rev=1778576&view=rev
Log:
Fixed: Clean the tools directory
(OFBIZ-7795)

In rc scripts, the calls to gradlew should be prefixed with ./

Modified:
    ofbiz/trunk/tools/rc.ofbiz
    ofbiz/trunk/tools/rc.ofbiz.for.debian

Modified: ofbiz/trunk/tools/rc.ofbiz
URL: http://svn.apache.org/viewvc/ofbiz/trunk/tools/rc.ofbiz?rev=1778576&r1=1778575&r2=1778576&view=diff
==============================================================================
--- ofbiz/trunk/tools/rc.ofbiz (original)
+++ ofbiz/trunk/tools/rc.ofbiz Fri Jan 13 12:55:03 2017
@@ -72,7 +72,7 @@ start() {
     cd $OFBIZ_HOME
     umask 007
     /bin/rm -f $OFBIZ_LOG
-    gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
+    ./gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
     echo_success
     return 0
 }
@@ -92,10 +92,10 @@ stop() {
     # All clear
     cd $OFBIZ_HOME
     umask 007
-    gradlew "ofbiz --shutdown" >>$OFBIZ_LOG
+    ./gradlew "ofbiz --shutdown" >>$OFBIZ_LOG
     ofbizprocs
     if [ "$OFBIZ_PROCS" != "" ]; then
-        gradlew terminateOfbiz
+        ./gradlew terminateOfbiz
     fi
     ofbizprocs
     if [ "$OFBIZ_PROCS" != "" ]; then

Modified: ofbiz/trunk/tools/rc.ofbiz.for.debian
URL: http://svn.apache.org/viewvc/ofbiz/trunk/tools/rc.ofbiz.for.debian?rev=1778576&r1=1778575&r2=1778576&view=diff
==============================================================================
--- ofbiz/trunk/tools/rc.ofbiz.for.debian (original)
+++ ofbiz/trunk/tools/rc.ofbiz.for.debian Fri Jan 13 12:55:03 2017
@@ -72,7 +72,7 @@ start() {
     cd $OFBIZ_HOME
     umask 007
     /bin/rm -f $OFBIZ_LOG
-    gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
+    ./gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
     echo_success
     return 0
 }
@@ -92,10 +92,10 @@ stop() {
     # All clear
     cd $OFBIZ_HOME
     umask 007
-    gradlew "ofbiz --shutdown" >>$OFBIZ_LOG
+    ./gradlew "ofbiz --shutdown" >>$OFBIZ_LOG
     ofbizprocs
     if [ "$OFBIZ_PROCS" != "" ]; then
-        gradlew terminateOfbiz
+        ./gradlew terminateOfbiz
     fi
     ofbizprocs
     if [ "$OFBIZ_PROCS" != "" ]; then