Replace packages branch literal by an expression #64

Merged
PeterSurda merged 1 commits from lee.miller/openwrt:cleanup into main 2023-12-04 00:14:21 +01:00

View File

@ -24,7 +24,9 @@ cd openwrt-sdk-*/
cp feeds.conf.default feeds.conf cp feeds.conf.default feeds.conf
cat ${pwd}/feeds.conf >> feeds.conf cat ${pwd}/feeds.conf >> feeds.conf
sed -i "s/\(packages.git\)\^.*/\1;openwrt-22.03/g" feeds.conf OPENWRT_BRANCH=$(echo ${OPENWRT_VERSION} | cut -d. -f 1,2)
sed -i "s/\(packages.git\)\^.*/\1;openwrt-${OPENWRT_BRANCH}/g" feeds.conf
./scripts/feeds update -a ./scripts/feeds update -a
./scripts/feeds install -a ./scripts/feeds install -a