view more/test.sh @ 1299:dcf7da6a6633

Add the sha1sum to the LFS tarball.
author Rob Landley <rob@landley.net>
date Mon, 22 Nov 2010 17:31:51 -0600
parents 3e7bf55b1bfb
children b74d36876c0a
line wrap: on
line source

#!/bin/bash

# Run a command with sources/include.sh and an architecture loaded

if [ $# -eq 0 ]
then
  echo "Usage: [STAGE_NAME=...] more/test.sh ARCH COMMAND..." >&2
  exit 1
fi

. sources/include.sh || exit 1

read_arch_dir "$1"
shift
eval "$@"