aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2004-01-16 18:04:13 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2004-01-16 18:04:13 +0000
commit3551615f2759ca353afe103f2e950dd0da6ee76a (patch)
tree0c474a36de72f6dd6f82c70e543d816233369b6c
parent557895cd1544cf3a75dc72604b9447859ba19334 (diff)
downloadrpmtools-3551615f2759ca353afe103f2e950dd0da6ee76a.tar
rpmtools-3551615f2759ca353afe103f2e950dd0da6ee76a.tar.gz
rpmtools-3551615f2759ca353afe103f2e950dd0da6ee76a.tar.bz2
rpmtools-3551615f2759ca353afe103f2e950dd0da6ee76a.tar.xz
rpmtools-3551615f2759ca353afe103f2e950dd0da6ee76a.zip
fix genhdlist without arg4.5.18
-rw-r--r--genhdlist2
-rw-r--r--rpmtools.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/genhdlist b/genhdlist
index a9e6a68..3ac8080 100644
--- a/genhdlist
+++ b/genhdlist
@@ -62,7 +62,7 @@ my @dir = @ARGV ? @ARGV : (".");
grep { m!^/! } @dir and die "Directory path to parse should be relative";
-$dest and chdir $dest or die "can't chdir in directory $dest";
+$dest and do { chdir $dest or die "can't chdir in directory $dest"; };
rmtree($tmpdir) unless $noclean;
mkpath($tmpdir);
diff --git a/rpmtools.spec b/rpmtools.spec
index f5b13f1..18e87fa 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 17mdk
+%define release 18mdk
# do not modify here, see Makefile in the CVS
%define version 4.5
@@ -65,6 +65,9 @@ Various tools needed by urpmi and drakxtools for handling rpm files.
%{_mandir}/*/*
%changelog
+* Fri Jan 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-18mdk
+- Fix genhdlist without arg
+
* Fri Jan 16 2004 Olivier Thauvin <thauvin@aerov.jussieu.fr> 4.5-17mdk
- add --dest option to genhdlist
- fix dir parsing (Thx Pascal Terjan)