projects
/
librecmc
/
librecmc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a small typo in sed pattern
[librecmc/librecmc.git]
/
target
/
imagebuilder
/
files
/
opkg-generate-config.sh
diff --git
a/target/imagebuilder/files/opkg-generate-config.sh
b/target/imagebuilder/files/opkg-generate-config.sh
index d8fb0e40653b2598914ded34e9e9c005853f8131..b2047a0d45aa96cd4475018d70d9ec1f9dc26f54 100755
(executable)
--- 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 \
[ -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 <<EOT >> $TOPDIR/tmp/opkg.conf
$TOPDIR/repositories.conf > $TOPDIR/tmp/opkg.conf
cat <<EOT >> $TOPDIR/tmp/opkg.conf