#!/bin/sh
#
# A script for saving an application image.
#
# usage:
#
#    lllim name src_dir {option}*
#

usage="lllim name src_dir {option}*"

if [ $# -lt 2 ]
then
  echo $usage
  exit 1
fi

name=$1
sdir=$2
shift;shift
options=$*

test -f $sdir/$name.libpath && . $sdir/$name.libpath

$sdir/$name $options -ilt-save
