mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 11:20:18 +00:00
Fix creating derived data folder in build script if it does not exist
This commit is contained in:
parent
3ec9e9eee3
commit
ec59c3161a
2
build.sh
2
build.sh
@ -15,7 +15,7 @@ function trap_handler {
|
|||||||
trap trap_handler INT TERM EXIT
|
trap trap_handler INT TERM EXIT
|
||||||
|
|
||||||
# Derived data handling
|
# Derived data handling
|
||||||
[ -d DERIVED_DATA_PATH ] || mkdir DERIVED_DATA_PATH
|
eval [ ! -d $DERIVED_DATA_PATH ] && eval mkdir $DERIVED_DATA_PATH
|
||||||
function clean_derived_data {
|
function clean_derived_data {
|
||||||
eval find $DERIVED_DATA_PATH -mindepth 1 -delete
|
eval find $DERIVED_DATA_PATH -mindepth 1 -delete
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user