summaryrefslogtreecommitdiff
path: root/include/newpackage
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-12 22:19:39 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-12 22:19:39 +0100
commit9a00ba48425f2a5eb3e091eed860c9cfa32e0ed1 (patch)
tree2fd20a8f2b00688c7af001533770bef899058ec4 /include/newpackage
parentac0a54b2f4810810eba8c0586ab6e0206a5948b8 (diff)
newpackage: Create package locally as well
Diffstat (limited to 'include/newpackage')
-rwxr-xr-xinclude/newpackage5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/newpackage b/include/newpackage
index 70e5fa6..ef69b42 100755
--- a/include/newpackage
+++ b/include/newpackage
@@ -27,3 +27,8 @@ if ((bare)) {
git init
git config receive.denyCurrentBranch ignore
}
+
+cd ${PDIR-~/packages}
+mkdir $package
+cd $package
+git init