mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-12 11:00:04 +01:00
iop: if new bcmopen tar file exists, for create symlink to it
This commit is contained in:
parent
8363a9d567
commit
2a41c9ccd8
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ build_bcmkernel_consumer() {
|
|||
tarfile='out/bcm963xx_*_consumer.tar.gz'
|
||||
[ $(ls -1 $tarfile |wc -l) -ne 1 ] && echo "Too many tar files: '$tarfile'" && return
|
||||
scp -pv $tarfile $SERVER:$FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz
|
||||
ssh $SERVER "ln -s $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz $FPATH/bcmopen-$board-$majver.$minver.tar.gz"
|
||||
ssh $SERVER "[ -f $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz ] && ln -sf $FPATH/bcmopen-$board-$bcmkernelcommith.tar.gz $FPATH/bcmopen-$board-$majver.$minver.tar.gz"
|
||||
rm -f $tarfile
|
||||
cd "$curdir"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue