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