Chore: migrate some scripts shebang to sh
[releng/builder.git] / jjb / integration / integration-cleanup-workspace.sh
1 #!/bin/sh
2
3 echo "Cleaning up the workspace..."
4
5 # Leftover files from previous runs could be wrongly copied as results.
6 # Keep the cloned integration/test repository!
7 for file_or_dir in *
8 # FIXME: Make this compatible with multipatch and other possible build&run jobs.
9 do
10     if [ "$file_or_dir" != "test" ]; then
11         rm -vrf "$file_or_dir"
12     fi
13 done