#!/bin/sh ## TODO: add support for DLAGENT. ## TODO: add support for curl. _printhelp() { cat< "$UBUILD" #!/bin/bash if [ -z "$(command -v realpath)" ];then echo "You need 'realpath'." exit fi if [ -z "$(command -v wget)" ];then echo "You need 'wget'." exit fi ################################################################################ EOF if $OPT_LOCAL; then sed -e 's|/usr|/usr/local|g' "$i" >> "$UBUILD" else cat "$i" >> "$UBUILD" fi cat "${0%/*}/.${0##*/}.in" >> "$UBUILD" chmod +x "$UBUILD" done