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>
- To: "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 20:01:46 +0200
+ [ -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?
Just reading next mail, seems it is OK now. :-)
- [ -d /tmp ] && shopt dotglob && rm -rf /tmp/*
+ [ -d /tmp ] && shopt -s dotglob && rm -rf /tmp/* && shopt -u dotglob
--
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.