From 334c72c97ceb611cb7bdef02352e714a27ebb001 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Thu, 5 Jul 2018 09:15:45 +1000 Subject: [PATCH] to_build_host: provide some protection against misrunning --- to_build_host | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/to_build_host b/to_build_host index fad8be3..14afe0d 100755 --- a/to_build_host +++ b/to_build_host @@ -1,5 +1,10 @@ #!/bin/sh +[ -e "SHA1s" ] && { + echo "Found SHA1s file ... exitting" 1>&2 + exit 1 +} + . "$(dirname $0)/common.sh" rsync -avHSXx --exclude next-history.git --exclude stats --exclude next/.git/gitk.cache --delete ~/kernels/next/. ${build_host}:kernels/next/. -- 2.39.5