Signed-off-by: geraldo netto <geraldone...@gmail.com>
---
 tomcat/GET | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tomcat/GET b/tomcat/GET
index 07247d9..9b80ecb 100755
--- a/tomcat/GET
+++ b/tomcat/GET
@@ -26,8 +26,10 @@ done
 popd
 
 popd
+if [ -d ROOTFS/usr/tomcat ];
+then
+    rm -rf ROOTFS/usr/tomcat
+fi
 
-
-mkdir ROOTFS
 mkdir -p ROOTFS/usr/tomcat
 mv upstream/$dir/* ROOTFS/usr/tomcat
-- 
2.7.4

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to