From 1c489d8d3a01f2cbc31c3d457afc95d3c68fa768 Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Feb 20 2017 12:56:12 +0000 Subject: Fix make-rhat-patches script to reflect the latest changes in fedora github repos --- diff --git a/make-rhat-patches.sh b/make-rhat-patches.sh index 0c35f44..e99c69f 100755 --- a/make-rhat-patches.sh +++ b/make-rhat-patches.sh @@ -17,7 +17,7 @@ git clone git@github.com:projectatomic/container-selinux.git -q pushd selinux-policy > /dev/null # prepare policy patches against upstream commits matching the last upstream merge -git rev-parse --verify origin/${FEDORA_VERSION}-base; git diff eb4512f6eb13792c76ff8d3e6f2df3a7155db577 origin/${FEDORA_VERSION}-base > policy-${FEDORA_VERSION}-base.patch +git rev-parse --verify origin/${FEDORA_VERSION}; git diff eb4512f6eb13792c76ff8d3e6f2df3a7155db577 origin/${FEDORA_VERSION} > policy-${FEDORA_VERSION}-base.patch popd > /dev/null pushd selinux-policy-contrib > /dev/null