summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmailimport4
1 files changed, 4 insertions, 0 deletions
diff --git a/mailimport b/mailimport
index aa56bb284..614ae6519 100755
--- a/mailimport
+++ b/mailimport
@@ -224,6 +224,10 @@ if [ -d "$NAME" ]; then
else
echo "Processing patches from tree $NAME"
for i in $NAME/*; do
+ if [ ! -r $i ]; then
+ sudo chmod og+r $i
+ fi
+
echo "$i"
proccess_patch "$i"
done