|
@@ -1,7 +1,7 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
#=================================================
|
|
#=================================================
|
|
shopt -s extglob
|
|
shopt -s extglob
|
|
-commitid="$(curl -sfL https://github.com/openwrt/openwrt/commits/master/include | grep -o 'href=".*>kernel: bump 5.10' | head -1 | cut -d / -f 5 | cut -d "#" -f 1)"
|
|
|
|
|
|
+commitid="$(curl -sfL https://github.com/openwrt/openwrt/commits/master/include | grep -o 'href=".*>kernel: bump 5.10' | head -1 | cut -d / -f 5 | cut -d '#' -f 1)"
|
|
version="$(git rev-parse HEAD)"
|
|
version="$(git rev-parse HEAD)"
|
|
git checkout $commitid
|
|
git checkout $commitid
|
|
git checkout HEAD^
|
|
git checkout HEAD^
|