X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-quiltimport.sh;h=880c81d121bfb9555c729bc299f8ae8baf1db32c;hb=ca5bb5d5390e4ec709ca3e11c451c58a836d4ee6;hp=74a54d5d08f86ebbd6a4b3af1f6950dbfd91c743;hpb=15eda0202aa3c63fa7b8f9f72df86f4e50eb1d2b;p=git.git diff --git a/git-quiltimport.sh b/git-quiltimport.sh index 74a54d5d0..880c81d12 100755 --- a/git-quiltimport.sh +++ b/git-quiltimport.sh @@ -71,6 +71,10 @@ commit=$(git rev-parse HEAD) mkdir $tmp_dir || exit 2 for patch_name in $(grep -v '^#' < "$QUILT_PATCHES/series" ); do + if ! [ -f "$QUILT_PATCHES/$patch_name" ] ; then + echo "$patch_name doesn't exist. Skipping." + continue + fi echo $patch_name git mailinfo "$tmp_msg" "$tmp_patch" \ <"$QUILT_PATCHES/$patch_name" >"$tmp_info" || exit 3