$OpenBSD: patch-solenv_bin_modules_installer_download_pm,v 1.1 2006/10/25 22:49:50 kurt Exp $
--- solenv/bin/modules/installer/download.pm.orig.port	Wed Oct 25 15:22:15 2006
+++ solenv/bin/modules/installer/download.pm	Wed Oct 25 15:25:19 2006
@@ -145,7 +145,7 @@ sub put_checksum_and_size_into_script
 	}
 	else
 	{
-		installer::exiter::exit_program("ERROR: Incorrect return value from /usr/bin/sum: $sumout", "put_checksum_and_size_into_script");
+		installer::exiter::exit_program("ERROR: Incorrect return value from sum: $sumout", "put_checksum_and_size_into_script");
 	}
 
 	my $infoline = "Adding checksum $checksum and size $size into download shell script\n";
@@ -233,12 +233,12 @@ sub call_sum
 
 #	my $ownerstring = "";
 #	if ( $installer::globals::islinuxrpmbuild ) { $ownerstring = "--owner=0"; }
-#	my $systemcall = "cd $installdir; tar $ownerstring -cf - * | /usr/bin/sum |";
+#	my $systemcall = "cd $installdir; tar $ownerstring -cf - * | sum |";
 
 	my $ldpreloadstring = "";
 	if ( $getuidlibrary ne "" ) { $ldpreloadstring = "LD_PRELOAD=" . $getuidlibrary; }
 
-	my $systemcall = "cd $installdir; $ldpreloadstring tar -cf - * | /usr/bin/sum |";
+	my $systemcall = "cd $installdir; $ldpreloadstring tar -cf - * | sum |";
 	
 	my $sumoutput = "";
 
