IMO the solution using 

abspath=$(cd $dir;pwd)

to get the absolute path of dir does not work. When calling "fai dirinstall 
relpath"
the user will specify a relative path that does not exist yet. So the
cd will not work.

Also using readlink -f will not help when the relative path does not
exist. IMO it's better to force the user to specify an absolute path
and to print a good error message in case he specifies a relative path.

-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to