-->

Monday, March 18, 2013

test for the existence of a directory in makefiles



if ! test -d /home/kalu/directory_to_tetst; then \
    echo "[ERROR]: directory ${DIRECTORY_TO_TEST} does not exist";\
    exit 2; \
fi 


thanks +Isaac Alonso 

No comments:

Post a Comment