wok-undigest annotate linux/stuff/devtools/up-linux.sh @ rev 1217
copied linux receipt and stuff from wok-next
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 16:49:43 2019 +0100 (2019-11-15) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@1217 | 1 #!/bin/sh |
Hans-G?nter@1217 | 2 # up-linux: update versions of all the packages depending on the Linux version |
Hans-G?nter@1217 | 3 |
Hans-G?nter@1217 | 4 . /lib/libtaz.sh |
Hans-G?nter@1217 | 5 |
Hans-G?nter@1217 | 6 WOK=$(cd $(dirname $0) && pwd | sed 's/wok.*/wok/') |
Hans-G?nter@1217 | 7 . $WOK/linux/receipt |
Hans-G?nter@1217 | 8 |
Hans-G?nter@1217 | 9 action 'Update packages version to %s...' "$VERSION" |
Hans-G?nter@1217 | 10 for i in $SIBLINGS; do |
Hans-G?nter@1217 | 11 sed -i "s|^VERSION=.*$|VERSION=\"$VERSION\"|" $WOK/$i/receipt |
Hans-G?nter@1217 | 12 done |
Hans-G?nter@1217 | 13 status |