#! /bin/sh set -ex . ./install.cfg DEST=$PREFIX$DESTDIR/usr/share/java mkdir -p $DEST # Copy Jar cp target/${artifactId}-${version}.jar $DEST/ ln -sf ${artifactId}-${version}.jar $DEST/${artifactId}.jar