[nautilus-actions] run-autogen: remove directory left by a failed 'make distcheck'
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] run-autogen: remove directory left by a failed 'make distcheck'
- Date: Thu, 6 Jan 2011 22:50:26 +0000 (UTC)
commit d7db59d4bd690dc0358f170ffdb5ea72cde4e0a3
Author: Pierre Wieser <pwieser trychlos org>
Date: Thu Jan 6 23:27:48 2011 +0100
run-autogen: remove directory left by a failed 'make distcheck'
run-autogen.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/run-autogen.sh b/run-autogen.sh
index 02d2f38..398ddd9 100755
--- a/run-autogen.sh
+++ b/run-autogen.sh
@@ -5,7 +5,10 @@ autogen_target=${autogen_target:-normal}
# a nautilus-actions-x.y may remain after an aborted make distcheck
# such a directory breaks gnome-autogen.sh generation
# so clean it here
-find . -maxdepth 1 -type d -name 'nautilus-actions-*' | xargs rm -fr
+for d in $(find . -maxdepth 1 -type d -name 'nautilus-actions-*'); do
+ chmod -R u+w $d
+ rm -fr $d
+done
[ "${autogen_target}" = "normal" ] &&
exec ./autogen.sh \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]