sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869)
- From: Ladislav Hagara <ladislav.hagara AT unob.cz>
- Cc: "sm-commit AT lists.ibiblio.org" <sm-commit AT lists.ibiblio.org>
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869)
- Date: Thu, 28 Aug 2008 19:55:23 +0200
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
commit 836934cfe1960010a5696586f480dbda2acfa869
+++ b/smgl/init.d/HISTORY
@@ -1,3 +1,6 @@
+2008-08-28 Vlad Glagolev <stealth AT sourcemage.org>
+ * init.d/mountall.sh: fixed a bug about removing .* files/dirs
+
2008-08-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* mountroot.sh: don't unconditionally overwrite the mtab and do it
properly #14665
diff --git a/smgl/init.d/init.d/mountall.sh b/smgl/init.d/init.d/mountall.sh
index 7755aca..f0fa03f 100755
--- a/smgl/init.d/init.d/mountall.sh
+++ b/smgl/init.d/init.d/mountall.sh
@@ -83,13 +83,13 @@ start_cryptfs()
if [ "$CLEAN_TMP" == "yes" ] ; then
echo "Cleaning out /tmp..."
- [ -d /tmp ] && rm -rf /tmp/*
+ [ -d /tmp ] && shopt dotglob && rm -rf /tmp/*
evaluate_retval
fi
Are you sure? Just testing it (new feature for me) and seems "shopt dotglob" only shows setting (on/off).
If you want to remove all files (.a, ...) the GLOBIGNORE must be set.
Just "rm -rf /tmp/* /tmp/.*" is not OK?
--
Ladislav Hagara
-
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869),
Vlad Glagolev, 08/28/2008
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869),
Ladislav Hagara, 08/28/2008
- Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869), Ladislav Hagara, 08/28/2008
-
Re: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (836934cfe1960010a5696586f480dbda2acfa869),
Ladislav Hagara, 08/28/2008
Archive powered by MHonArc 2.6.24.