Compare commits

..

3 Commits

Author SHA1 Message Date
1f484d8bfc Avoid nullglob 2023-02-14 13:27:09 -05:00
f3aa4a0558 Update README 2023-02-14 13:26:47 -05:00
1ac5a8efaa Fix README typos 2023-02-14 10:48:14 -05:00
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# openwrtbuilder
Sanely build and deploy OpenWRT images using the Image Builder (or git source)
Sanely build and deploy OpenWRT images using the Image Builder or from source code
## Usage
@@ -36,10 +36,10 @@ See `./profiles` for example device profile definitions.
## Examples
* `./openwrtbuilder -p r4s -r snapshot --debug`
* `./openwrtbuilder -p ax6000_stock -r 23.03.3 --source --debug`
* `./openwrtbuilder -p rpi4 -r 23.03.3 --flash /dev/sdX`
* `./openwrtbuilder -p ax6000_stock -r 22.03.3 --source --debug`
* `./openwrtbuilder -p rpi4 -r 22.03.3 --flash /dev/sdX`
* `./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@192.168.1.1`
## Additional Info
Did you find `openwrtbuilder` useful? [Buy me a coffee!](https://paypal.me/bryanroessler?locale.x=en_US)
Did you find `openwrtbuilder` useful? [Buy me a coffee!](https://paypal.me/bryanroessler)

View File

@@ -661,9 +661,11 @@ fromSource() {
popd &>/dev/null || return 1
# Provide symlinks to images in root of BINDIR (to match Image Builder)
shopt -s nullglob
for image in "$BINDIR/targets/${TARGET}/"*.{img,img.gz,ubi}; do
ln -fs "$image" "$BINDIR/${image##*/}"
done
shopt -u nullglob
return 0
}