mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Fix ONLY_PREPARE setting
This commit is contained in:
parent
e15a7fbd65
commit
a99cd7c566
1 changed files with 8 additions and 8 deletions
16
build.sh
16
build.sh
|
@ -142,16 +142,16 @@ if [ "$ONLY_PREPARE" != "yes" ]; then
|
||||||
_get_repo feeds/${OMR_KERNEL}/packages ${OMR_OPENWRT_GIT}/openwrt/packages "${OMR_OPENWRT}"
|
_get_repo feeds/${OMR_KERNEL}/packages ${OMR_OPENWRT_GIT}/openwrt/packages "${OMR_OPENWRT}"
|
||||||
_get_repo feeds/${OMR_KERNEL}/luci ${OMR_OPENWRT_GIT}/openwrt/luci "${OMR_OPENWRT}"
|
_get_repo feeds/${OMR_KERNEL}/luci ${OMR_OPENWRT_GIT}/openwrt/luci "${OMR_OPENWRT}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$OMR_FEED" ]; then
|
if [ -z "$OMR_FEED" ]; then
|
||||||
OMR_FEED=feeds/openmptcprouter
|
OMR_FEED=feeds/openmptcprouter
|
||||||
_get_repo "$OMR_FEED" "$OMR_FEED_URL" "$OMR_FEED_SRC"
|
[ "$ONLY_PREPARE" != "yes" ] && _get_repo "$OMR_FEED" "$OMR_FEED_URL" "$OMR_FEED_SRC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$CUSTOM_FEED_URL" ] && [ -z "$CUSTOM_FEED" ]; then
|
if [ -n "$CUSTOM_FEED_URL" ] && [ -z "$CUSTOM_FEED" ]; then
|
||||||
CUSTOM_FEED=feeds/${OMR_KERNEL}/${OMR_DIST}
|
CUSTOM_FEED=feeds/${OMR_KERNEL}/${OMR_DIST}
|
||||||
_get_repo "$CUSTOM_FEED" "$CUSTOM_FEED_URL" "$CUSTOM_FEED_URL_BRANCH"
|
[ "$ONLY_PREPARE" != "yes" ] && _get_repo "$CUSTOM_FEED" "$CUSTOM_FEED_URL" "$CUSTOM_FEED_URL_BRANCH"
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$1" ] && [ -f "$OMR_FEED/$1/Makefile" ]; then
|
if [ -n "$1" ] && [ -f "$OMR_FEED/$1/Makefile" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue