mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
unpack: avoid yet more wildcard io
This commit is contained in:
parent
86053a0336
commit
39f13a26df
@ -183,16 +183,16 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
|||||||
post_patch
|
post_patch
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for config in `find $BUILD/$1* -name config.guess | sed 's/config.guess//'`; do
|
|
||||||
if [ ! "$PKG_NAME" == "configtools" ] ; then
|
if [ ! "$PKG_NAME" == "configtools" ] ; then
|
||||||
|
for config in `find $PKG_BUILD -name config.guess | sed 's/config.guess//'`; do
|
||||||
printf "%${BUILD_INDENT}c ${boldyellow}FIXCONFIG${endcolor} $config\n" ' '
|
printf "%${BUILD_INDENT}c ${boldyellow}FIXCONFIG${endcolor} $config\n" ' '
|
||||||
|
|
||||||
[ -f "$config/config.guess" -a -f $TOOLCHAIN/configtools/config.guess ] && \
|
[ -f "$config/config.guess" -a -f $TOOLCHAIN/configtools/config.guess ] && \
|
||||||
cp -f $TOOLCHAIN/configtools/config.guess $config
|
cp -f $TOOLCHAIN/configtools/config.guess $config
|
||||||
[ -f "$config/config.sub" -a -f $TOOLCHAIN/configtools/config.sub ] && \
|
[ -f "$config/config.sub" -a -f $TOOLCHAIN/configtools/config.sub ] && \
|
||||||
cp -f $TOOLCHAIN/configtools/config.sub $config
|
cp -f $TOOLCHAIN/configtools/config.sub $config
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$PKG_SECTION" != "virtual" ]; then
|
if [ "$PKG_SECTION" != "virtual" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user