pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

use of ls in mk/bulk/post-build



Hi,

In rev 1.49 of  pkgsrc/mk/bulk/post-build, you committed

-chdir($USR_PKGSRC);
-system("find . -name $BROKENFILE -print -o -name $BROKENWRKLOG -print | $GTAR 
-T - -plcf - | (cd $FTP; $GTAR -plxf -)");
+chdir($vars{USR_PKGSRC});
+my_system("/bin/ls -1 $vars{BROKENFILE} $vars{BROKENWRKLOG} 
*/*/$vars{BROKENFILE} */*/$vars{BROKENWRKLOG} 2>/dev/null | $vars{GTAR} -T - 
-plcf - | (cd $vars{FTP}; $vars{GTAR} -plxf -)");


On some systems, this now leads to too many arguments to ls(1),
subsequently producing an empty bulk-log.  What was wrong with using
find(1)?

-Jan 

-- 
Wenn ich tot bin, mir soll mal Einer mit Auferstehung oder so
kommen, ich hau ihm eine rein! (Anonym)

Attachment: pgpg9J8zsWMMh.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index