#!/bin/sh -e
# Hack to get depmod working for different subarches.

if [ -z "$1" ]; then
  exit 0
fi

case "$1" in 
  *s390) echo "UNAME_MACHINE=s390" ;;
  *s390x) echo "UNAME_MACHINE=s390x" ;;
esac

exit 0
