Applied: [kteam-tools] git-build-kernel: Add support for s390x
diff mbox

Message ID 1462483571-31197-1-git-send-email-kamal@canonical.com
State New
Headers show

Commit Message

Kamal Mostafa May 5, 2016, 9:26 p.m. UTC
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 git-build-kernel/post-receive | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/git-build-kernel/post-receive b/git-build-kernel/post-receive
index 18ba941..dd8451f 100755
--- a/git-build-kernel/post-receive
+++ b/git-build-kernel/post-receive
@@ -39,6 +39,7 @@  do
 	[ "${ref_p2%%-*}" = "ppc64el" ] && { arch=ppc64el; ref_p2="${ref_p2#*-}"; }
 	[ "${ref_p2%%-*}" = "arm64" ] && { arch=arm64; ref_p2="${ref_p2#*-}"; }
 	[ "${ref_p2%%-*}" = "powerpc" ] && { arch=powerpc; ref_p2="${ref_p2#*-}"; }
+	[ "${ref_p2%%-*}" = "s390x" ] && { arch=s390x; ref_p2="${ref_p2#*-}"; }
 
 	### handle predefined branch or refs targets
 	### e.g. refs/heads/binary  (an actual branch named "binary")