c1b093bab1
Image build off of 0.5.3 instead of master (less docker rebuilding) Fixed small bug with clean script Fixed does not delete empty key (less docker rebuilding)
17 lines
333 B
Bash
Executable File
17 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
#Emulate the important parts of git clean -xdf for CentOS 6 full build
|
|
|
|
CWD=$(cd $(dirname ${BASH_SOURCE[0]}); pwd)
|
|
|
|
rm -rv ${CWD}/BUILD ${CWD}/BUILDROOT ${CWD}/RPMS ${CWD}/SRPMS || :
|
|
|
|
find ${CWD}/SOURCES -not -name git-lfs.repo -delete || :
|
|
|
|
rm ${CWD}/SPECS/golang.spec || :
|
|
|
|
rm ${CWD}/build.log || :
|
|
|