From 6593d5ccecd03087df17f8dee3e81294e931a2b0 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Fri, 25 Oct 2002 21:36:39 +0000 Subject: update cuz I fixored it. --- app-admin/addpatches/files/addpatches | 6 +++--- app-admin/addpatches/files/digest-addpatches-0.1 | 0 app-admin/addpatches/files/digest-addpatches-0.2 | 0 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 app-admin/addpatches/files/digest-addpatches-0.1 create mode 100644 app-admin/addpatches/files/digest-addpatches-0.2 (limited to 'app-admin/addpatches/files') diff --git a/app-admin/addpatches/files/addpatches b/app-admin/addpatches/files/addpatches index 9b16d68a00ad..5ad1ea54e1ba 100644 --- a/app-admin/addpatches/files/addpatches +++ b/app-admin/addpatches/files/addpatches @@ -76,7 +76,7 @@ function applyPatch { findFile $patchdir/$i || break $uncomp ${patchdir}/$i | patch -p1 -R -s -E -d $sourcedir echo "done." - done + done fi return 1; fi @@ -106,8 +106,8 @@ then echo "Scanning patch directory: '$patchdir'" for i in `ls *_*` do - findFile $patchdir/$i || break - applyPatch $i || break + findFile $patchdir/$i || exit 1 + applyPatch $i || exit 1 done else diff --git a/app-admin/addpatches/files/digest-addpatches-0.1 b/app-admin/addpatches/files/digest-addpatches-0.1 deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/app-admin/addpatches/files/digest-addpatches-0.2 b/app-admin/addpatches/files/digest-addpatches-0.2 new file mode 100644 index 000000000000..e69de29bb2d1 -- cgit v1.2.3-65-gdbad