#!/bin/bash cat > Client/src/main/java/de/com/baseband/client/util/data/GitHash.java << EOF package de.com.baseband.client.util.data; public class GitHash { public static final String GIT_HASH = "$(git describe --always)"; } EOF