Don't fail the script if the last command in config returns false
This commit is contained in:
parent
b6e0f0dc02
commit
4b6457479b
|
@ -10,7 +10,12 @@
|
|||
# This file is the script used to build @P@. There are some
|
||||
# options that can be edited; these are set in the file 'config' (or you
|
||||
# can pass them in as environment variables).
|
||||
source config || exit 1
|
||||
if [ ! -e "config" ]
|
||||
then
|
||||
echo "Configuration file not found???"
|
||||
exit 1
|
||||
fi
|
||||
source "config" # don't fail on error, since last command in config might return false
|
||||
|
||||
|
||||
|
||||
|
@ -256,6 +261,7 @@ do
|
|||
echo "Cleaning..."
|
||||
rm -rf ${OUTPUT_DIRS}
|
||||
print_success "Done"
|
||||
true
|
||||
;;
|
||||
|
||||
# bad Kdevelop! bad!
|
||||
|
|
Loading…
Reference in New Issue