summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Hercinger <vhercing@redhat.com>2013-03-19 15:51:37 +0100
committerViktor Hercinger <vhercing@redhat.com>2013-03-19 15:51:37 +0100
commit4f31f2f1cbd99577476e424d8e9da97874d21936 (patch)
tree3a415b4fb6e6787db00c203e9f42b18a4c414973
parent62eeea27227f26e17cc3bf8edbfd41ad9d6785f9 (diff)
downloadrpm-tools-4f31f2f1cbd99577476e424d8e9da97874d21936.tar.gz
rpm-tools-4f31f2f1cbd99577476e424d8e9da97874d21936.tar.xz
rpm-tools-4f31f2f1cbd99577476e424d8e9da97874d21936.zip
fixed git checkout error
-rw-r--r--rpmtools.spec5
-rwxr-xr-xscripts/rpmdev-build-devspec2
2 files changed, 5 insertions, 2 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 0b00c6c..db606df 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,6 +1,6 @@
Name: rpmtools
Version: 1.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Local RPM toolkit
BuildArch: noarch
@@ -29,6 +29,9 @@ install -m 755 * %{buildroot}/%{_bindir}
%{_bindir}/*
%changelog
+* Tue Mar 19 2013 Hercinger Viktor <hercinger.viktor@gmail.com> - 1.0-5
+- fixed checkout bug
+
* Mon Mar 18 2013 Hercinger Viktor <hercinger.viktor@gmail.com> - 1.0-4
- changed default spec path
- can specify custom spec path
diff --git a/scripts/rpmdev-build-devspec b/scripts/rpmdev-build-devspec
index 8d2f446..938a7a8 100755
--- a/scripts/rpmdev-build-devspec
+++ b/scripts/rpmdev-build-devspec
@@ -202,7 +202,7 @@ do
continue
fi
- if [ "x$BRANCH" = "x" ]
+ if [ "x$BRANCH" != "x" ]
then
cd $PACKAGE_PATH
git checkout $BRANCH