add config.h if present in source array
This commit is contained in:
3
PKGBUILD
3
PKGBUILD
@@ -41,6 +41,9 @@ prepare() {
|
|||||||
sed '/@tic/d' -i Makefile
|
sed '/@tic/d' -i Makefile
|
||||||
for file in "${source[@]}"; do
|
for file in "${source[@]}"; do
|
||||||
if [[ "$file" != *.diff ]]; then
|
if [[ "$file" != *.diff ]]; then
|
||||||
|
# add config.h if present in source array
|
||||||
|
# Note: this supersedes the above sed to config.def.h
|
||||||
|
[[ "$file" == "config.h" ]] && cp "$SRCDEST/$file" .
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
# add all patches present in source array
|
# add all patches present in source array
|
||||||
|
|||||||
Reference in New Issue
Block a user