Update stapler

pull/1/head
Igor Zalatov (from Citadel PC) 2022-09-04 18:49:52 +03:00
parent c568f81faa
commit 034d5a6605
1 changed files with 18 additions and 20 deletions

16
stapler
View File

@ -34,16 +34,11 @@ echo_c() {
scp -r output/images/rootfs.squashfs.* output/images/uImage.* ${TFTPSRV}
}
projects() {
if [ -n ${PROJECT} ]; then
echo_c 31 "\nPlease specify one project from the list at the command line:\n"
tree -L 1 projects
}
compose () {
echo OK
}
else
echo_c 31 "\nAttention, let's start working on the ${PROJECT} project ...\n"
tree -C projects/${PROJECT}; sleep 3
echo_c 33 "\nSync of Composer repo ...\n"
@ -57,6 +52,9 @@ cd firmware
2archive; 2tftp
echo_c 35 "\nRollback to home ...\n"
cd -
fi