summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/stex/bin/sms
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/bin/sms')
-rwxr-xr-xMaster/texmf-dist/source/latex/stex/bin/sms7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/stex/bin/sms b/Master/texmf-dist/source/latex/stex/bin/sms
index 4599f3e2763..360be4ea814 100755
--- a/Master/texmf-dist/source/latex/stex/bin/sms
+++ b/Master/texmf-dist/source/latex/stex/bin/sms
@@ -1,14 +1,17 @@
#!/usr/bin/perl -w
#######################################################################################
# A tool for creating STeX Module Signatures (SMS) files. #
-# Copyright (c) 2005, Ioan Sucan, released under the Gnu General Public License (GPL) #
+# Copyright (c) 2005, Ioan Sucan; (c) 2010, Deyan Ginev,
+# released under the Gnu General Public License (GPL) #
# see http://www.gnu.org/copyleft/gpl.html #
# $URL: svn://kwarc.eecs.iu-bremen.de/repos/kwarc/projects/content/bin/sms$ #
# $Date: 2006-10-22 20:01:47 +0200 (Sun, 22 Oct 2006) $ $Rev: 10669 $ #
#######################################################################################
use strict;
-
+use File::Spec::Functions qw(rel2abs);
+use File::Basename;
+use lib dirname(rel2abs($0)); #Assumption: Modparse is in the same folder as the sms binary.
use Getopt::Long;
use Modparse;
use Pod::Usage;