CVS patchset: 2584
CVS date: 1998/12/03 19:36:01
- there must be a { between two % in a query format (unless %% is used)
2.5.5 -> 2.5.6:
+ - caldera patches (ray@Caldera.DE)
- added ARM patches.
- fix incorrect directory permissions using %attr/%defattr.
- permit "rpm -q --specfile ... file.spec" queries.
filelist=`sed "s/['\"]/\\\&/g"`
exelist=`echo $filelist | xargs -r file | fgrep executable | cut -d: -f1 `
-scriptlist=`echo $filelist | xargs -r file | egrep ":.*(perl |script )" | cut -d: -f1 `
+scriptlist=`echo $filelist | xargs -r file | egrep ":.* (commands|script) " | cut -d: -f1 `
liblist=`echo $filelist | xargs -r file | grep "shared object" | cut -d : -f1 `
for f in $exelist; do
if (compressed) {
sprintf(buf,
"echo \"Patch #%d:\"\n"
- "%s -dc %s | patch -p%d %s -s\n"
+ "%s -d < %s | patch -p%d %s -s\n"
"STATUS=$?\n"
"if [ $STATUS -ne 0 ]; then\n"
" exit $STATUS\n"
return 1;
}
if (rmdir(newdbpath))
- rpmMessage(RPMERR_RMDIR, _("failed to remove %s: %s\n"),
+ rpmMessage(RPMESS_ERROR, _("failed to remove directory %s: %s\n"),
newdbpath, strerror(errno));
}