diff --git a/target/imagebuilder/files/opkg-generate-config.sh b/target/imagebuilder/files/opkg-generate-config.sh index d8fb0e40653..b2047a0d45a 100755 --- a/target/imagebuilder/files/opkg-generate-config.sh +++ b/target/imagebuilder/files/opkg-generate-config.sh @@ -32,7 +32,7 @@ rm -f $TOPDIR/tmp/opkg.conf [ -f $TOPDIR/repositories.conf ] && \ $TOPDIR/staging_dir/host/bin/sed \ - -n -e "s/\$A/$PKGARCH/g" -e "/^[[:space:]*]src/p" \ + -n -e "s/\$A/$PKGARCH/g" -e "/^[[:space:]]*src/p" \ $TOPDIR/repositories.conf > $TOPDIR/tmp/opkg.conf cat <> $TOPDIR/tmp/opkg.conf