#!/bin/bash # goto root dir (this script resides in src) BASEDIR=`dirname $(readlink -f $0)` cd ${BASEDIR}/../ diff -ur home/.XCompose src/xcompose/dotXCompose rm -f gen/.XCompose cp src/xcompose/dotXCompose gen/.XCompose