Repository: incubator-tamaya-site Updated Branches: refs/heads/asf-site 816057e57 -> e81b64a2e
TAMAYA-178: Add helper script to clean the homepage Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/commit/e81b64a2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/tree/e81b64a2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/diff/e81b64a2 Branch: refs/heads/asf-site Commit: e81b64a2ed6e7aed4fb17a7f101cbd2610550144 Parents: 816057e Author: Phil Ottlinger <pottlin...@apache.org> Authored: Sun Dec 18 23:56:49 2016 +0100 Committer: Phil Ottlinger <pottlin...@apache.org> Committed: Sun Dec 18 23:56:49 2016 +0100 ---------------------------------------------------------------------- clean-site.sh | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/e81b64a2/clean-site.sh ---------------------------------------------------------------------- diff --git a/clean-site.sh b/clean-site.sh new file mode 100755 index 0000000..914efbf --- /dev/null +++ b/clean-site.sh @@ -0,0 +1,9 @@ + #!/bin/bash +echo "Are you sure you want to wipe the existing page?" +read +## only works with BASH ## +GLOBIGNORE=*.sh:.git:.gitignore:output +rm -rf * +echo "DONE" +ls -al +unset GLOBIGNORE