build - Only find ivy lock file if /opt/releng/tools exists.
@@ -106,10 +106,12 @@ opt_write_test:
# ----------------------------------------------------------------------
sync_tools: opt_write_test /opt/releng/apache-ant
- @LCK_FILES=$$( find /opt/releng/tools -name "*.lck" ); \
+ @if [ -d /opt/releng/tools ]; then \
+ LCK_FILES=$$( find /opt/releng/tools -name "*.lck" ); \
if [ -n "$${LCK_FILES}" ]; then \
echo "Removing existing .lck files!"; \
find /opt/releng/tools -name "*.lck" | xargs rm; \
+ fi \
fi
@cd releng/make/dependencies; \
