+Mon Feb 27 00:01:41 1995 Mark Eichin <eichin@cygnus.com>
+
+ * lndir: if $0 contains slashes, but does not have a leading
+ slash, prepend `pwd` so that relative invocation works.
+
Fri Feb 3 16:50:07 1995 Theodore Y. Ts'o (tytso@dcl)
* reconf: If util/autoconf isn't built, try to use autoconf
USAGE="Usage: $0 fromdir [todir]"
+case $0 in
+/*) lndir=$0 ;;
+*/*) lndir=`pwd`/$0 ;;
+*) lndir=$0 ;;
+esac
+
if [ $# -lt 1 -o $# -gt 2 ]
then
echo "$USAGE"
echo "$pwd: FROM and TO are identical!"
exit 1
fi
- $0 $DIRFROM/$file
+ $lndir $DIRFROM/$file
)
fi
fi