fix up a couple paths
authorHerb Lewis <herb@samba.org>
Sat, 7 Jun 2003 00:46:04 +0000 (00:46 +0000)
committerHerb Lewis <herb@samba.org>
Sat, 7 Jun 2003 00:46:04 +0000 (00:46 +0000)
(This used to be commit dab21ae3b1a9c31cf07dd65225eb6db3854b846e)

packaging/SGI/idb.pl

index e49c9c61efda3ea14a539375779f9e841d33de01..529695b14b2bb84879e268d6895b81360ad6c57f 100755 (executable)
@@ -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";
     }
@@ -371,8 +368,8 @@ sub get_line {
     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);