From: John Malconian Date: Wed, 10 Feb 2016 19:05:03 +0000 (-0500) Subject: add new git directory 'admin' option for ID-only stuff X-Git-Url: http://git.indexdata.com/?p=git-tools-moved-to-github.git;a=commitdiff_plain;h=92d94b019504a02e11db2d7f5faeb42da41f3a68 add new git directory 'admin' option for ID-only stuff --- diff --git a/id-new-project/id-new-project.sh b/id-new-project/id-new-project.sh index 89d190b..3fa1bcc 100755 --- a/id-new-project/id-new-project.sh +++ b/id-new-project/id-new-project.sh @@ -3,7 +3,7 @@ usage() { echo "" echo "Usage:" - echo "id-new-project.sh srcdir description {pub/private}" + echo "id-new-project.sh srcdir description {pub/private/admin}" echo "For example:" echo "id-new-project.sh ../myproj \"Which does good things\" private" exit 1 @@ -14,8 +14,8 @@ DESC=$2 TYPE=$3 case "${TYPE}" in - pub | private) ;; - * ) echo "invalid type: '$TYPE', use pub or private"; usage ;; + pub | private | admin ) ;; + * ) echo "invalid type: '$TYPE', use pub or private or admin "; usage ;; esac if test ! -e post-receive; then