#!/bin/sh if [ $# -ne 1 ] || [ "$1" = "-h" ]; then cat< "$UBUILD" if [ "$1" = "-l" ]; then cat "$2" | sed -e 's|/usr|/usr/local|g' >> "$UBUILD" else cat "$1" >> "$UBUILD" fi cat "${0%/*}/.${0##*/}.in" >> "$UBUILD" chmod +x "$UBUILD"