forked from project-voodoo/scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
voodoo_sound_sync_commits.sh
executable file
·58 lines (41 loc) · 1.2 KB
/
voodoo_sound_sync_commits.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/bin/bash
mode=$1
do_things()
{
if test "$mode" = "status"; then
make clean
echo
pwd
echo
git status
read
else
git add ./sound/soc/codecs/wm8994*.c 2>/dev/null
git add ./sound/soc/codecs/victory/wm8994*.c
git add ./sound/soc/codecs/wm8994_voodoo.h 2>/dev/null
git add ./sound/soc/codecs/victory/wm8994_voodoo.h
git add ./sound/soc/codecs/atlas/wm8994.c
git add ./sound/soc/codecs/atlas/wm8994.c
git add ./sound/soc/codecs/atlas/wm8994_aries.c
git add ./sound/soc/codecs/Makefile
git add ./sound/soc/codecs/Kconfig.voodoo
git add ./sound/soc/Kconfig
git diff --cached
git commit && git push
fi
cd - > /dev/null 2>&1
}
cd nexuss/ && do_things
cd linux_gt-i9000-gingerbread/ && do_things
cd linux_galaxys-cm7/ && do_things
cd linux_gt-i9000-eclair/linux-2.6.29/ && do_things
cd linux_sch-i800/Kernel/ && do_things
cd linux_sch-i500-eclair/Kernel/ && do_things
cd linux_sch-i500-froyo/Kernel/ && do_things
cd linux_sgh-t959/ && do_things
cd linux_sgh-t959v/ && do_things
cd linux_sgh-i897/ && do_things
cd linux_shw-m110s/ && do_things
cd linux_shw-m110s-gingerbread/ && do_things
cd linux_sph-d700-eclair/linux-2.6.29/ && do_things
cd linux_sph-d700/Kernel/ && do_things