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