summaryrefslogtreecommitdiff
path: root/packaging/SGI/idb.pl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-07-16 05:34:56 +0000
committerGerald Carter <jerry@samba.org>2003-07-16 05:34:56 +0000
commit4a090ba06a54f5da179ac02bb307cc03d08831bf (patch)
treeed652ef36be7f16682c358816334f969a22f1c27 /packaging/SGI/idb.pl
parent95fe82670032a3a43571b46d7bbf2c26bc8cdcd9 (diff)
downloadsamba-4a090ba06a54f5da179ac02bb307cc03d08831bf.tar.gz
samba-4a090ba06a54f5da179ac02bb307cc03d08831bf.tar.bz2
samba-4a090ba06a54f5da179ac02bb307cc03d08831bf.zip
trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
Diffstat (limited to 'packaging/SGI/idb.pl')
-rwxr-xr-xpackaging/SGI/idb.pl9
1 files changed, 3 insertions, 6 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl
index 72f573b8ee..529695b14b 100755
--- a/packaging/SGI/idb.pl
+++ b/packaging/SGI/idb.pl
@@ -132,9 +132,6 @@ while(@bins) {
if ($filename eq "smbpasswd") {
print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base \n";
}
- elsif ($filename eq "findsmb") {
- print IDB "f 0755 root sys usr/samba/bin/$filename $SRCPFX/packaging/SGI/$filename $PKG.sw.base\n";
- }
elsif ($filename eq "swat") {
print IDB "f 4755 root sys usr/samba/bin/$filename $SRCPFX/source/$nextfile $PKG.sw.base preop(\"chroot \$rbase /etc/init.d/samba stop\") exitop(\"chroot \$rbase /usr/samba/scripts/startswat.sh\") removeop(\"chroot \$rbase /sbin/cp /etc/inetd.conf /etc/inetd.conf.O ; chroot \$rbase /sbin/sed -e '/^swat/D' -e '/^#SWAT/D' /etc/inetd.conf.O >/etc/inetd.conf; /etc/killall -HUP inetd || true\")\n";
}
@@ -368,11 +365,11 @@ 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;
- $line =~ s/\$\(builddir\)/$builddir/g;
+ $line =~ s/\$\(srcdir\)//g;
+ $line =~ s/\$\(builddir\)//g;
$line =~ s/\$\(\S*\)\s*//g;
$line =~ s/\s\s*/ /g;
@line = split(' ',$line);