Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item11267: Exclude apache logs ..
and change to root for broken link cleanup
  • Loading branch information
gac410 committed Aug 21, 2014
1 parent f69e6d3 commit 159e2bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/tools/develop/foswiki-trunk-update.sh
Expand Up @@ -21,6 +21,7 @@ git reset HEAD --hard
# - Logs in data: debug, error, event and configure

git clean -fdx \
--exclude="logs" \
--exclude="core/bin/LocalLib*" --exclude="core/lib/LocalSite*" \
--exclude="core/working" \
--exclude="core/data/Main" --exclude="core/pub/Main" \
Expand All @@ -37,6 +38,7 @@ git pull --force

# Remove broken links.
echo Removing broken links
cd $ROOT
find -L . -type l -exec rm \{\} \;

# Restore the modified files, install the default modules, and optional extensions
Expand Down

0 comments on commit 159e2bd

Please sign in to comment.