#!/bin/sh # reads a package description script and outputs the attributes in a format easy # for the snag program to read if [ -z "$1" ]; then echo "Usage: $0 " >&2 exit 1 fi # load the description script . $1 # echo package properties echo ID $pkg_id echo NAME $pkg_name echo DESC $pkg_desc