projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
830524e
)
mebil
author
MEBIL
<mebil@mebil.(none)>
Tue, 1 Aug 2017 12:14:08 +0000
(14:14 +0200)
committer
MEBIL
<mebil@mebil.(none)>
Tue, 1 Aug 2017 12:14:08 +0000
(14:14 +0200)
build/kivitendo.co
patch
|
blob
|
history
diff --git
a/build/kivitendo.co
b/build/kivitendo.co
index
e8474d2
..
85ade5a
100755
(executable)
--- a/
build/kivitendo.co
+++ b/
build/kivitendo.co
@@
-4,20
+4,28
@@
set -e
# parameter: $1: git tag to build
# options: -g <alternative repository>
# parameter: $1: git tag to build
# options: -g <alternative repository>
-repos="https://github.com/wagner-tech"
-if getopts "g:" opt; then
- repos=$OPTARG
- shift 2
-fi
+#repos="https://github.com/wagner-tech"
+#if getopts "g:" opt; then
+# repos=$OPTARG
+# shift 2
+#fi
+#
+#if [ -e kivitendo-erp ]
+#then
+# pushd kivitendo-erp >/dev/null
+ #branch=$(git rev-parse --abbrev-ref HEAD)
+ #git pull origin $branch
+#else
+# git clone $repos/kivitendo-erp
+# pushd kivitendo-erp >/dev/null
+#fi
+# git checkout $1
+#popd >/dev/null
-if [ -d kivitendo-erp ]
-then
- pushd kivitendo-erp >/dev/null
- branch=$(git rev-parse --abbrev-ref HEAD)
- git pull origin $branch
-else
- git clone $repos/kivitendo-erp
- pushd kivitendo-erp >/dev/null
-fi
+# alternativer Versuch: Es wird das lokale Repository geklont:
+
+git clone ../..
+pushd kivitendo-erp >/dev/null
git checkout $1
popd >/dev/null
git checkout $1
popd >/dev/null
+