From 4f31f2f1cbd99577476e424d8e9da97874d21936 Mon Sep 17 00:00:00 2001 From: Viktor Hercinger Date: Tue, 19 Mar 2013 15:51:37 +0100 Subject: fixed git checkout error --- rpmtools.spec | 5 ++++- scripts/rpmdev-build-devspec | 2 +- 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 - 1.0-5 +- fixed checkout bug + * Mon Mar 18 2013 Hercinger Viktor - 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 -- cgit