]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
also copy .gitignore
authorRoland Haeder <roland@mxchange.org>
Wed, 1 Jun 2016 19:30:15 +0000 (21:30 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 1 Jun 2016 19:30:15 +0000 (21:30 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
cp-dist.sh

index 371d148d3be278f9ab6cca195bd464900a548378..74cf41733d038e775a023becdaea6f92a9f4e83b 100755 (executable)
@@ -12,6 +12,7 @@ for project in ${LIST}; do
                echo "$0: Copying dist.sh/.git* to '${project}' ..."
                cp -v dist.sh "${JPROJECTS_HOME}/${project}/" || exit 255
                cp -vu "${JPROJECTS_HOME}/jprojects-scripts/.gitattributes" "${JPROJECTS_HOME}/${project}"
+               cp -vu "${JPROJECTS_HOME}/jprojects-scripts/.gitignore" "${JPROJECTS_HOME}/${project}"
        fi
 
        if [ -d "${JPROJECTS_HOME}/${project}" -a ! -d "${JPROJECTS_HOME}/${project}/docs" -o "$1" = "f" ]