don't use SRCDEST, thanks phillid

This commit is contained in:
mar77i
2015-10-15 13:47:42 +02:00
parent 05baa36be4
commit 96d35f72f1

View File

@@ -42,11 +42,11 @@ prepare() {
if [[ "$file" == "config.h" ]]; then if [[ "$file" == "config.h" ]]; then
# add config.h if present in source array # add config.h if present in source array
# Note: this supersedes the above sed to config.def.h # Note: this supersedes the above sed to config.def.h
cp "$SRCDEST/$file" . cp "$srcdir/$file" .
continue continue
elif [[ "$file" == *.diff ]]; then elif [[ "$file" == *.diff ]]; then
# add all patches present in source array # add all patches present in source array
patch -Np1 <"$SRCDEST/$file" patch -Np1 <"$srcdir/$file"
fi fi
done done
} }