summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-10-25 21:36:39 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-10-25 21:36:39 +0000
commit6593d5ccecd03087df17f8dee3e81294e931a2b0 (patch)
treec1101ef22404ed954cbaa8cf78962a544c52411b /app-admin/addpatches/files
parentversion bump (diff)
downloadhistorical-6593d5ccecd03087df17f8dee3e81294e931a2b0.tar.gz
historical-6593d5ccecd03087df17f8dee3e81294e931a2b0.tar.bz2
historical-6593d5ccecd03087df17f8dee3e81294e931a2b0.zip
update cuz I fixored it.
Diffstat (limited to 'app-admin/addpatches/files')
-rw-r--r--app-admin/addpatches/files/addpatches6
-rw-r--r--app-admin/addpatches/files/digest-addpatches-0.2 (renamed from app-admin/addpatches/files/digest-addpatches-0.1)0
2 files changed, 3 insertions, 3 deletions
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.2
index e69de29bb2d1..e69de29bb2d1 100644
--- a/app-admin/addpatches/files/digest-addpatches-0.1
+++ b/app-admin/addpatches/files/digest-addpatches-0.2