165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
# Function to determine what build mode is being used
function useCommonBuildSystem() {
local script
script="$1"
if head "${script}" 2>/dev/null | grep -i '^# *BuildCompatible: *KitCreator *$' >/dev/null 2>/dev/null; then
return 0
fi
return 1
}
# Cleanup build logs
|
|
|
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
|
# Function to determine what build mode is being used
function useCommonBuildSystem() {
local script
script="$1"
if grep -i '^# *BuildCompatible: *KitCreator *$' "${script}" >/dev/null 2>/dev/null; then
return 0
fi
return 1
}
# Cleanup build logs
|