svn commit: r1849566 - /ofbiz/tools/demo-backup/Nicolas/old-manual.sh

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

svn commit: r1849566 - /ofbiz/tools/demo-backup/Nicolas/old-manual.sh

jleroux@apache.org
Author: jleroux
Date: Sat Dec 22 18:49:43 2018
New Revision: 1849566

URL: http://svn.apache.org/viewvc?rev=1849566&view=rev
Log:
branch13.7-demo.patch should not be removed

Modified:
    ofbiz/tools/demo-backup/Nicolas/old-manual.sh

Modified: ofbiz/tools/demo-backup/Nicolas/old-manual.sh
URL: http://svn.apache.org/viewvc/ofbiz/tools/demo-backup/Nicolas/old-manual.sh?rev=1849566&r1=1849565&r2=1849566&view=diff
==============================================================================
--- ofbiz/tools/demo-backup/Nicolas/old-manual.sh (original)
+++ ofbiz/tools/demo-backup/Nicolas/old-manual.sh Sat Dec 22 18:49:43 2018
@@ -10,16 +10,17 @@ svn up
 svn revert -R *
 
 #remove user adding file not versionned
-IFS=$'\n'
-for i in $(svn st | grep ^? |cut -c 9-); do rm -fr "$i"; done;
-if [ -n "$(svn st | grep ^?)" ]; then
-    # this to remove all unsupported file name like C:/ created and not cover by previous command
-    for i in $(svn st | grep ^? |cut -c 9-); do
-        rename_file = "$(echo $i| sed s/[:\\\ ]/_/g)";
-        mv "$i" "$rename_file";
-        rm "$rename_file";
-    done;
-fi
+ # branch13.7-demo.patch should not be removed
+ # IFS=$'\n'
+ # for i in $(svn st | grep ^? |cut -c 9-); do rm -fr "$i"; done;
+ # if [ -n "$(svn st | grep ^?)" ]; then
+ this to remove all unsupported file name like C:/ created and not cover by previous command
+ # for i in $(svn st | grep ^? |cut -c 9-); do
+ # rename_file = "$(echo $i| sed s/[:\\\ ]/_/g)";
+ # mv "$i" "$rename_file";
+ # rm "$rename_file";
+ # done;
+ # fi
 
 #remove unecessary config for demo
 if [ -n "$(ls $OFBIZ_DIR/framework/base/config/*)" ]; then