summaryrefslogtreecommitdiffstats
path: root/scripts/rawhide-snapshot.sh
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2017-07-11 13:27:04 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2017-07-11 13:27:04 -0500
commit272a38dcb88cb85ea5d34fdd5134f38da10cc7ad (patch)
tree3bebc2031ecea52f37209e3b44d0139ac20ac33c /scripts/rawhide-snapshot.sh
parentb0f3de0ab81f4a9d4fe1c0c0ac776d1c747a96f2 (diff)
downloadkernel-272a38dcb88cb85ea5d34fdd5134f38da10cc7ad.tar.gz
kernel-272a38dcb88cb85ea5d34fdd5134f38da10cc7ad.tar.xz
kernel-272a38dcb88cb85ea5d34fdd5134f38da10cc7ad.zip
Revert debuginfo changes for stable rebases
Diffstat (limited to 'scripts/rawhide-snapshot.sh')
-rwxr-xr-xscripts/rawhide-snapshot.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/rawhide-snapshot.sh b/scripts/rawhide-snapshot.sh
index b96bd38d9..210216b98 100755
--- a/scripts/rawhide-snapshot.sh
+++ b/scripts/rawhide-snapshot.sh
@@ -11,6 +11,13 @@
source scripts/kernel-version.sh
+klist -s
+if [ ! $? -eq 0 ]; then
+ echo "klist couldn't read the credential cache."
+ echo "Do you need to fix your kerberos tokens?"
+ exit 1
+fi
+
git fetch origin
if [ "$(git rev-parse origin/master)" != "$(git rev-parse HEAD)" ]; then
echo "I just did a git fetch and this branch does not match master"