#!/bin/sh # # sexec.header: self-extracting archive header for the pawX11 executable # based upon an article on linux.org by Ramon Casha # # Date: June 2, 2004 # Author: Richard Jones # richard.t.jones@uconn.edu #------------------ SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' $0` # take the archive portion of this file and pipe it to tar tail -n +$SKIP $0 | tar xz ./pawX11 <