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 371d148..74cf417 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" ]