malekith: bootdisk mkpkg,1.1,1.2
Michał Moskal
malekith w pld-linux.org
Pon, 18 Mar 2002, 20:14:33 CET
Module name: bootdisk
Changes by: malekith
Changed RCS file: /cvsroot/bootdisk/pkg/mkpkg,v
----------------------------
revision 1.2
date: 2002/03/18 19:14:26; author: malekith; state: Exp; lines: +5 -1
- fixed making of libc pkg
Index: mkpkg
===================================================================
RCS file: /cvsroot/bootdisk/pkg/mkpkg,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mkpkg 18 Mar 2002 09:29:05 -0000 1.1
+++ mkpkg 18 Mar 2002 19:14:26 -0000 1.2
@@ -75,7 +75,11 @@
if [ "$rpm" = "@script" ] ; then
cp $scriptsdir/$file pkg-root/$target
elif [ "$rpm" = "@cp" ] ; then
- cp -r $file pkg-root/$target
+ if test -d $file ; then
+ cp -r $file pkg-root/$target
+ else
+ cp $file pkg-root/$target
+ fi
else
if test -r $rpm.cpio ; then
: ok
Więcej informacji o liście dyskusyjnej pld-installer