diff --git a/.github/workflows/bcm27xx-bcm2708.yml b/.github/workflows/bcm27xx-bcm2708.yml index 0a976b1cc..57a22b77c 100644 --- a/.github/workflows/bcm27xx-bcm2708.yml +++ b/.github/workflows/bcm27xx-bcm2708.yml @@ -304,7 +304,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -315,7 +316,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/bcm27xx-bcm2709.yml b/.github/workflows/bcm27xx-bcm2709.yml index d40c70262..c83db6d89 100644 --- a/.github/workflows/bcm27xx-bcm2709.yml +++ b/.github/workflows/bcm27xx-bcm2709.yml @@ -304,7 +304,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -315,7 +316,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/bcm27xx-bcm2710.yml b/.github/workflows/bcm27xx-bcm2710.yml index 6742ed604..219c63509 100644 --- a/.github/workflows/bcm27xx-bcm2710.yml +++ b/.github/workflows/bcm27xx-bcm2710.yml @@ -304,7 +304,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -315,7 +316,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/bcm27xx-bcm2711.yml b/.github/workflows/bcm27xx-bcm2711.yml index 1576746e4..f26df6ad1 100644 --- a/.github/workflows/bcm27xx-bcm2711.yml +++ b/.github/workflows/bcm27xx-bcm2711.yml @@ -306,7 +306,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -317,7 +318,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/ipq40xx-generic.yml b/.github/workflows/ipq40xx-generic.yml index 1006f687d..51398fc43 100644 --- a/.github/workflows/ipq40xx-generic.yml +++ b/.github/workflows/ipq40xx-generic.yml @@ -303,7 +303,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -314,7 +315,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/rockchip-armv8.yml b/.github/workflows/rockchip-armv8.yml index 67f3cc439..94784ba6f 100644 --- a/.github/workflows/rockchip-armv8.yml +++ b/.github/workflows/rockchip-armv8.yml @@ -304,7 +304,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -315,7 +316,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi diff --git a/.github/workflows/x86-64.yml b/.github/workflows/x86-64.yml index 42b80580d..6b283e0e7 100644 --- a/.github/workflows/x86-64.yml +++ b/.github/workflows/x86-64.yml @@ -304,7 +304,8 @@ jobs: id: generate run: | if grep -q $DEVICE_TARGET/$DEVICE_SUBTARGET $GITHUB_WORKSPACE/data/support-targets.txt; then - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg + cd $OPENWRT_ROOT_PATH/files/etc/opkg cp $GITHUB_WORKSPACE/data/opkg/distfeeds.conf . sed -i "s/DEVICE_SUBTARGET/$DEVICE_SUBTARGET/g" distfeeds.conf sed -i "s/DEVICE_TARGET/$DEVICE_TARGET/g" distfeeds.conf @@ -315,7 +316,8 @@ jobs: cmake . make sudo mv usign /bin - mkcd $OPENWRT_ROOT_PATH/files/etc/opkg/keys + mkdir -p $OPENWRT_ROOT_PATH/files/etc/opkg/keys + cd $OPENWRT_ROOT_PATH/files/etc/opkg/keys wget -q https://openwrt.cc/snapshots/targets/$DEVICE_TARGET/$DEVICE_SUBTARGET/key-build.pub mv key-build.pub $(usign -F -p key-build.pub) fi