mirror of
https://github.com/fail0verflow/mini.git
synced 2025-02-26 00:03:33 +01:00
mini has its own repository and its own tags now
This commit is contained in:
parent
402be0e950
commit
dfd2ba8069
@ -3,11 +3,11 @@
|
|||||||
# Check for git and a git repo.
|
# Check for git and a git repo.
|
||||||
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
|
if head=`git rev-parse --verify HEAD 2>/dev/null`; then
|
||||||
comm=`git log --pretty=oneline -n1 | awk ' { print $1 }'`
|
comm=`git log --pretty=oneline -n1 | awk ' { print $1 }'`
|
||||||
printf "%s" ""`printf "%s" \`git describe --abbrev=4 --match bootmii-\* $comm | awk '{ sub (/bootmii-/, ""); print;}'\``
|
printf "%s" ""`printf "%s" \`git describe --abbrev=4 --match mini-\* $comm | awk '{ sub (/mini-/, ""); print;}'\``
|
||||||
|
|
||||||
# Are there uncommitted changes?
|
# Are there uncommitted changes?
|
||||||
git update-index --refresh --unmerged > /dev/null
|
git update-index --refresh --unmerged > /dev/null
|
||||||
git diff-index --quiet HEAD ../mini || printf "%s" '*'
|
git diff-index --quiet HEAD || printf "%s" '*'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
2
main.c
2
main.c
@ -42,7 +42,7 @@ u32 _main(void *base)
|
|||||||
(void)base;
|
(void)base;
|
||||||
|
|
||||||
gecko_init();
|
gecko_init();
|
||||||
gecko_printf("mini v0.2 (%s) loading\n", git_version);
|
gecko_printf("mini %s loading\n", git_version);
|
||||||
|
|
||||||
gecko_printf("Initializing exceptions...\n");
|
gecko_printf("Initializing exceptions...\n");
|
||||||
exception_initialize();
|
exception_initialize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user