From f3dc8a81c56209d7ae0fcd859a359d13e577d63d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 30 Oct 2015 19:43:55 -0500 Subject: Now that toybox is chmod -w, mv needs -f to overwrite it. --- scripts/single.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/single.sh b/scripts/single.sh index cea972a1..36de3159 100755 --- a/scripts/single.sh +++ b/scripts/single.sh @@ -37,9 +37,6 @@ do echo "# CONFIG_TOYBOX is not set" >> "$KCONFIG_CONFIG" && grep "CONFIG_TOYBOX_" .config >> "$KCONFIG_CONFIG" && -# sed -ri -e "s/CONFIG_TOYBOX=y/# CONFIG_TOYBOX is not set/;t" \ -# -e "s/# (CONFIG_(TOYBOX(|_HELP.*|_I18N|_FLOAT)|$NAME|${NAME}_.*${DEPENDS:+|$DEPENDS})) is not set/\1=y/" \ -# "$KCONFIG_CONFIG" && make && - mv toybox $PREFIX$i || exit 1 + mv -f toybox $PREFIX$i || exit 1 done -- cgit v1.2.3