Skip to content

Commit

Permalink
small fixes to scrub script
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Jan 10, 2023
1 parent 401ca24 commit 887baa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/scrub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ scrub() {
# one level specs only
[ -d "$1" ] && return 0
did=`basename $1`
[ "$did" = "null" ] && return 0
dir=`dirname $1`;
spec=`basename $dir`
parent=`dirname $dir`
Expand Down Expand Up @@ -74,6 +75,9 @@ if [ "$spec" == "" ]; then
# skip global admin
[ "$spec" == "admin" ] && continue
parallel scrub {} ::: "$dir"/*
# for i in "$dir"/*; do
# scrub "$i"
# done
done
fi
exit $?

0 comments on commit 887baa2

Please sign in to comment.