blob: 39a652ff599a7dc0f34498af9042ba60af94e5b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
if [ -f /home/build/repos/.placehold ]; then
rm /home/build/repos/.placehold
fi
find /home/build/repos -maxdepth 0 -empty -exec rm -rf {} \;
if [ -d /home/build/repos ]; then
chown -R build:build /home/build/repos
fi
|