correct arch detect

This commit is contained in:
Mario Fetka 2012-10-28 15:05:08 +01:00
parent 96d26ce78f
commit d4efa7293c
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1 @@
linux (3.5.7) UNRELEASED; urgency=low

View File

@ -12,8 +12,10 @@ get_flavourconfigs() {
}
get_arch() {
if find . -name config.flavour.$1 | grep -q i386; then
echo i386
if find . -name config.flavour.$1 | grep -q x86; then
echo x86
elif find . -name config.flavour.$1 | grep -q amd64; then
echo x86
else
echo arm
fi