URL: https://github.com/freeipa/freeipa/pull/983 Author: tomaskrizek Title: #983: makerpms.sh: make git checkout optional Action: opened
PR body: """ In case someone is using the script from tarball, outside of git, the git checkout command shouldn't fail the script. Related https://pagure.io/freeipa/issue/6605 Signed-off-by: Tomas Krizek <tkri...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/983/head:pr983 git checkout pr983
From 60ae73f30d68cddac873df8f8025980759f03ba6 Mon Sep 17 00:00:00 2001 From: Tomas Krizek <tkri...@redhat.com> Date: Thu, 17 Aug 2017 14:08:22 +0200 Subject: [PATCH] makerpms.sh: make git checkout optional In case someone is using the script from tarball, outside of git, the git checkout command shouldn't fail the script. Related https://pagure.io/freeipa/issue/6605 Signed-off-by: Tomas Krizek <tkri...@redhat.com> --- makerpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makerpms.sh b/makerpms.sh index 9cbc1cf73a..a701d367f3 100755 --- a/makerpms.sh +++ b/makerpms.sh @@ -28,6 +28,6 @@ make rpms # Workaround to ignore re-generated *.po files in git repo # See https://pagure.io/freeipa/issue/6605 -git checkout po/*.po +git checkout po/*.po ||: popd
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org