blob: b860d4755648b03e0047acdf8421c901042fc1bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# shellcheck shell=bash
# This is a horrible hack. You should not use this.
flattenIncludes() {
(
cd "${!outputInclude}/include" || exit
for file in */*; do
target=$(basename "$file")
echo "[HACK] Symlinking include $file to flattened path $target..."
ln -s "$file" "$target"
done
)
}
preFixupHooks+=(flattenIncludes)
|