#!/bin/sh RELEASE_FILE=$(pwd)/everest-distinfo if [ -f ${RELEASE_FILE} ]; then source ${RELEASE_FILE} else printf "${RELEASE_FILE} does not exist.\n" exit 1 fi tar Jcfv ${1} mv ${1}.tar.xz everestlinux-${VER}-${TARGET}-img.tar.xz