fix missing exec permissions on replaced config.sub

This commit is contained in:
Rich Felker 2020-02-02 23:35:52 -05:00
parent b3970874c3
commit 03b296f811
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ musl-git-%:
mkdir $@.tmp
( cd $@.tmp && find ../$< -path '*/*/*' -prune -exec sh -c 'ln -s "$$@" .' ':' {} + )
test ! -d patches/$@ || cat patches/$@/* | ( cd $@.tmp && $(COWPATCH) -p1 )
test ! -f $</config.sub || ( rm -f $@.tmp/config.sub && cp -f $(SOURCES)/config.sub $@.tmp/ )
test ! -f $</config.sub || ( rm -f $@.tmp/config.sub && cp -f $(SOURCES)/config.sub $@.tmp/ && chmod +x $@.tmp/config.sub )
rm -rf $@
mv $@.tmp $@