Allan,

export AMB_TMP=`pwd`

Note the use of back ticks, not normal quotes.

Thanks,

Allan

Allan Bruce wrote:
Hi there,
I am modifying a script, and I need to be able to store the current
directory, so I can come back to it.  I tried

export AMB_TMP=pwd

but it doesnt work, AMB_TMP becomes 'pwd' rather than the current directory.
How would I do this?
Thanks
Allan



_______________________________________________
Scottish mailing list
[EMAIL PROTECTED]
http://mailman.lug.org.uk/mailman/listinfo/scottish



_______________________________________________ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish

Reply via email to