summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2010-04-10 15:20:48 -0500
committerVictor Lowther <victor.lowther@gmail.com>2010-04-10 15:20:48 -0500
commit68104102c9d1659183fc0ad998274602802c6b41 (patch)
tree670e88446e9b64fdb51807391f3bce4dc56378d3
parent6bc4f4eeed002182bd4e39ee11fc024ceaf73757 (diff)
Modify make-deb to not bother with checking out the debian branch since we merged it into
master
-rwxr-xr-xmake-deb11
1 files changed, 0 insertions, 11 deletions
diff --git a/make-deb b/make-deb
index f3185ed..ab73012 100755
--- a/make-deb
+++ b/make-deb
@@ -1,18 +1,7 @@
#!/bin/bash
-[[ -d .git ]] || { echo "Not at root of pm-utils repository, dying horribly"; exit 1; }
-cp .git/HEAD .git/HEAD.mkdeb
-cp .git/index .git/index.mkdeb
-
-git rev-parse --verify debian || exit 1
-git checkout -b __debian_throwaway_branch
-git merge debian
git log --pretty=format:"pm-utils (%ct.%h) unstable; urgency=low%n%n * %s%n%n -- %an <%ae> %aD%n" --no-merges >debian/changelog && \
autoreconf --install && \
./configure && \
dpkg-buildpackage && echo "pm-utils .deb file created in parent directory." || \
echo "Something went wrong creating .deb."
-mv -f .git/HEAD.mkdeb .git/HEAD
-mv -f .git/index.mkdeb .git/index
-git checkout HEAD
-git branch -D __debian_throwaway_branch