From 7bd96a661eab0e42a4138f23a45e0764b327efdc Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Thu, 8 Jan 1998 10:50:18 +0000 Subject: [PATCH] missing a couple of binary files in the distribution (This used to be commit 84e2f7854769190816690f55bfd442e8bedc92fe) --- packaging/SGI/idb.pl | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl index bad7bfb862e..698d566a734 100755 --- a/packaging/SGI/idb.pl +++ b/packaging/SGI/idb.pl @@ -31,27 +31,22 @@ close MAKEFILE; if (@sprogs) { @sprogs[0] =~ s/^.*\=//; - @sprogs[0] =~ s/^.*\)//; @sprogs = split(' ',@sprogs[0]); } if (@progs) { @progs[0] =~ s/^.*\=//; - @progs[0] =~ s/^.*\)//; @progs = split(' ',@progs[0]); } if (@progs1) { @progs1[0] =~ s/^.*\=//; - @progs1[0] =~ s/^.*\)//; @progs1 = split(' ',@progs1[0]); } if (@scripts) { @scripts[0] =~ s/^.*\=//; - @scripts[0] =~ s/^.*\)//; @scripts = split(' ',@scripts[0]); } if (@codepage) { @codepage[0] =~ s/^.*\=//; - @codepage[0] =~ s/^.*\)//; chdir '../../source'; # if we have codepages we need to create them for the package system("./installcp.sh . ../packaging/SGI/codepages . @codepage[0]"); @@ -92,20 +87,23 @@ print IDB "f 0444 root sys usr/samba/README packaging/SGI/README samba.sw.base\n print IDB "d 0755 root sys usr/samba/bin packaging/SGI samba.sw.base\n"; while(@bins) { $nextfile = shift @bins; - if ($nextfile eq "smbpasswd") { - print IDB "f 4555 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n"; - } - elsif ($nextfile eq "psfixes.pl") { - print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; - } - elsif ($nextfile eq "sambalp") { - print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; - } - elsif ($nextfile eq "smbprint") { - print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; - } - else { - print IDB "f 0755 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n"; + + if (index($nextfile,'$')) { + if ($nextfile eq "smbpasswd") { + print IDB "f 4555 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n"; + } + elsif ($nextfile eq "psfixes.pl") { + print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; + } + elsif ($nextfile eq "sambalp") { + print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; + } + elsif ($nextfile eq "smbprint") { + print IDB "f 0755 root sys usr/samba/bin/$nextfile packaging/SGI/$nextfile samba.sw.base\n"; + } + else { + print IDB "f 0755 root sys usr/samba/bin/$nextfile source/$nextfile samba.sw.base\n"; + } } }