Diff

Differences From Artifact [5a5604ad51]:

To Artifact [ee8824e5b2]:


165
166
167
168
169
170
171
172

173
174
175
176
177
178
179
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
	if grep -i '^# *BuildCompatible: *KitCreator *$' "${script}" >/dev/null 2>/dev/null; then
		return 0
	fi

	return 1
}

# Cleanup build logs