kiddin9 vor 3 Jahren
Ursprung
Commit
9d12530d74
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      devices/common/diy.sh

+ 1 - 1
devices/common/diy.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 #=================================================
 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)"
 git checkout $commitid
 git checkout HEAD^