view interps/c-intercal/c-intercal @ 5190:afc311c3d00b

<int-e> ` sed -i 1a"export CPATH=/hackenv/interps/c-intercal/inst/include/ick-0.29" interps/c-intercal/c-intercal
author HackBot
date Thu, 11 Dec 2014 18:54:09 +0000
parents 976725b1eb6b
children
line wrap: on
line source

#!/bin/bash
export CPATH=/hackenv/interps/c-intercal/inst/include/ick-0.29
if [ ! "$1" ]
then
    exit 1
fi

INTERCAL="`dirname $0`/inst"

cp "$1" /tmp/$$.i
$INTERCAL/bin/ick /tmp/$$.i
if [ -e /tmp/$$ ]
then
    /tmp/$$
fi
rm -f /tmp/$$.i /tmp/$$