[Fai-commit] r3015 - trunk/debian
Michael Tautschnig
michael.tautschnig at zt-consulting.com
Mon Nov 14 23:15:24 CET 2005
[...]
>
> maybe we could be super-nice and check if it's really not "/" - so we
> catch the "worst of all" situations.
>
Yes, but then we need to do something like the following
# ... test -z $FAI_CONFIGDIR" before ...
testvar=`readlink -f ${FAI_CONFIGDIR}`
if [ "$testvar" = "/" ] ; then
echo "Sorry, I don't like to remove /"
fi
to catch at least some of those stupid variable-in-variable and
symlink-constructs we discussed before.
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20051114/f3df48ad/attachment.bin
More information about the linux-fai-devel
mailing list