mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 11:21:55 +00:00
Update sign.sh
This commit is contained in:
parent
9c954a3e6b
commit
e8f9b01b2d
1 changed files with 4 additions and 4 deletions
8
sign.sh
8
sign.sh
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
key=${1:-key-build}
|
key=${1:-key-build}
|
||||||
|
path=${2:-x86_64}
|
||||||
[ -d source/bin ] && [ -f "$key" ] && \
|
[ -d $path/source/bin ] && [ -f "$key" ] && \
|
||||||
find source/bin \
|
find $path/source/bin \
|
||||||
\( -name '*.img.gz' -or -name 'Packages' \) \
|
\( -name '*.img.gz' -or -name 'Packages' \) \
|
||||||
-exec source/staging_dir/host/bin/usign -S -m {} -s "$key" \;
|
-exec $path/source/staging_dir/host/bin/usign -S -m {} -s "$key" \;
|
||||||
|
|
Loading…
Reference in a new issue