]> gitweb.fluxo.info Git - metadot.git/commitdiff
Adds LICENSE and stage everything on new modules
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 15:38:41 +0000 (13:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 15:38:41 +0000 (13:38 -0200)
metadot

diff --git a/metadot b/metadot
index d60f9688bb9ae4286e7e45f96188372606c222e5..868caec5ed57904aa9331155ed30e97b9513fdd2 100755 (executable)
--- a/metadot
+++ b/metadot
@@ -153,7 +153,9 @@ function metadot_create {
     echo "# Comment that while in development."                          >> .gitignore
     echo '*'                                                             >> .gitignore
 
-    git add .
+    cp $DIRNAME/LICENSE .
+
+    git add -f .
   )
   echo "Metadot skeleton module $1 created at $MODULES/$1"
 }