summaryrefslogtreecommitdiff
path: root/packaging/SGI
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-xpackaging/SGI/idb.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index 72f573b8ee..e49c9c61ef 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -368,7 +368,7 @@ sub get_line {
$_ = <MAKEFILE>;
chomp;
s/^\s*/ /;
- substr($line,$cont,1,$_);
+ substr($line,$cont,1) = $_;
}
$line =~ s/\$\(EXEEXT\)/$EXEEXT/g;
$line =~ s/\$\(srcdir\)/$srcdir/g;