diff options
-rwxr-xr-x | bin/reproducible_openwrt.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh index 7ea0e92d..36e0d90c 100755 --- a/bin/reproducible_openwrt.sh +++ b/bin/reproducible_openwrt.sh @@ -164,9 +164,8 @@ cd $TMPBUILDDIR echo "=============================================================================" echo "$(date -u) - Cloning OpenWrt git repository." echo "=============================================================================" -git clone --depth 1 $OPENWRT_GIT_REPO openwrt +git clone --depth 1 -b $OPENWRT_GIT_BRANCH $OPENWRT_GIT_REPO openwrt cd openwrt -git checkout $OPENWRT_GIT_BRANCH OPENWRT="$(git log -1)" OPENWRT_VERSION=$(git describe --always) echo "This is openwrt $OPENWRT_VERSION." |