View Antoni Milton's profile on LinkedIn

Friday, February 26, 2010

How to check the directory exists or not from Makefile??

If the directory exists means, no need to untar the file.

setup:

if test -d DIR_NAME ; then echo NO NEED TO UNTAR ; else tar -xvf FILE.tar ; fi

No comments: