#!/bin/sh if [ $# -ne 1 ] || [ "$1" = "-h" ]; then cat< "$UBUILD" cat "$1" | sed -e 's|--prefix=/usr|--prefix=/usr/local|g' \ -e 's|PREFIX=/usr|PREFIX=/usr/local|g' >> "$UBUILD" cat "$(realpath "$0").in" >> "$UBUILD" chmod +x "$UBUILD"