Minor build fixes, again.
This commit is contained in:
parent
41d089472b
commit
ff8f53193c
|
@ -259,7 +259,9 @@ do
|
||||||
echo "Cleaning..."
|
echo "Cleaning..."
|
||||||
for dir in ${OUTPUT_DIRS}
|
for dir in ${OUTPUT_DIRS}
|
||||||
do
|
do
|
||||||
do_cmd find ${dir} \( -type f -o -type l \) -exec rm {} \; || exit 1
|
[ -e "${dir}" ] && do_cmd \
|
||||||
|
find "${dir}" \( -type f -o -type l \) -exec rm {} \;
|
||||||
|
[ $? -ne 0 ] && exit $?
|
||||||
done
|
done
|
||||||
print_success "Done"
|
print_success "Done"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
# Get the directory of the repository (needed to include functions file)
|
# Get the directory of the repository (needed to include functions file)
|
||||||
cd "$(dirname $0)"
|
cd "$(dirname $0)"
|
||||||
REPOS=$(dirname "$(pwd)")
|
REPOS=$(dirname "$(pwd)")
|
||||||
|
[ -z "${VERBOSE}" ] && VERBOSE=0
|
||||||
source "${REPOS}/scripts/functions.sh" || exit 1
|
source "${REPOS}/scripts/functions.sh" || exit 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue