#!/bin/sh # ------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42 - bzerk) # wrote this file. As long as you retain this notice # you can do whatever you want with this stuff. If we meet some day, # and you think this stuff is worth it, you can buy me a beer in # return. Ruben de Groot # ------------------------------------------------------------------- ARGS=$* [ "$1" = "-o" -a "$2" ] && FILEOUT=$2 && \ ARGS=`echo $* | awk '{n=split($0,a); for(i=3; i<=n;i++) {print a[i]}}'` FILEOUT=${FILEOUT:-install} if [ -z "${ARGS}" -o "${ARGS}" = "-o" ]; then echo echo "Usage: $0 [-o filename] path ..." echo echo "If you don't specify a filename, a script called 'install'" echo "will be created, which, when run, will recreate all" echo "specified paths and files." echo "If necessary, you can then edit the pre- and post-install" echo "sections in the generated script" echo exit fi uudecode -o /dev/stdout $0 | gunzip -c > ${FILEOUT} tar cPf - ${ARGS} | gzip -c | uuencode /dev/stdout >> ${FILEOUT} chmod +x ${FILEOUT} exit begin 640 /dev/stdout M'XL("(`-?#\``VENP8D;AQX` M)B;&:]GKIJUX>-+R([4"@0(2<]K+:&;G6U:J=4'E?K&37!1T M%"AI(8MVASAT3WJ@A#,=;#-TL-UR@O0$/V5DP892=AS`ZX^P2V2B/8M'M*0\.I4S'Q(QG)ZMVJ_JCD7\B:C/=HA.V]VO4\^`'?)N&;(@0````` ` end