[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
anaconda-11.3.0.50 upd-instroot
- From: Howard Wilkinson <howard cohtech com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: anaconda-11.3.0.50 upd-instroot
- Date: Fri, 05 Sep 2008 12:05:00 +0100
I am getting an error from the sed string in the code below. Can anybody
enlighten me as to what is trying to be achieved?
cat $KEEPFILES | while read spec ; do
#Pull off path
path=`echo "$spec" | sed 's,\([^[*\?]*\)/.*,\1,'`
<------ sed: -e expression #1, char 8: unknown option to `s'
for filespec in `find ./$path -path "./$spec"` ; do
if [ ! -e $filespec ]; then
continue
elif [ ! -d $filespec ]; then
instFile $filespec $PKGDEST
else
for i in `find $filespec -type f` ; do instFile $i $PKGDEST
; done
fi
done
done
Regards, Howard.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]