view admin/octlink.sh @ 12620:40ee970a56c3 octave-forge

these changes make it possible to install the package with 'pkg', as in http://octave.sourceforge.net/developers.html
author michelemartone
date Wed, 20 May 2015 12:20:04 +0000
parents 8c2efbabad2b
children
line wrap: on
line source

#! /bin/sh

FN2=`echo $2 | sed -e's/.octlink//'`
FN1=`echo $1 | sed -e's/.oct//'`
if test -e $2 ; then /bin/rm $2; fi
echo "autoload (\"$FN2\", which (\"$FN1\"));" > $2