diff --git a/MacOSX/package_info/MacOSX/dependencies b/MacOSX/package_info/MacOSX/dependencies deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/Scripts/developer_scripts/cgal_check_dependencies.sh b/Scripts/developer_scripts/cgal_check_dependencies.sh index 46c7871152e..48a20489a45 100644 --- a/Scripts/developer_scripts/cgal_check_dependencies.sh +++ b/Scripts/developer_scripts/cgal_check_dependencies.sh @@ -27,6 +27,10 @@ do pkg=$(basename $pkg_path) if [ -f $pkg_path/package_info/$pkg/dependencies ]; then mv $pkg_path/package_info/$pkg/dependencies $pkg_path/package_info/$pkg/dependencies.old + else + if [ -d $pkg_path/package_info/$pkg ]; then + touch $pkg_path/package_info/$pkg/dependencies.old + fi fi done @@ -42,11 +46,11 @@ do if [ -f "$pkg_path/package_info/$pkg/dependencies" ]; then PKG_DIFF=$(grep -Fxv -f "$pkg_path/package_info/$pkg/dependencies.old" "$pkg_path/package_info/$pkg/dependencies" || true) if [ -n "$PKG_DIFF" ]; then - TOTAL_RES="Differences in $pkg: $PKG_DIFF are new and not committed.\n $TOTAL_RES" + TOTAL_RES="Differences in $pkg:\n$PKG_DIFF\nare new and not committed.\n$TOTAL_RES" fi PKG_DIFF=$(grep -Fxv -f "$pkg_path/package_info/$pkg/dependencies" "$pkg_path/package_info/$pkg/dependencies.old" || true) if [ -n "$PKG_DIFF" ]; then - TOTAL_RES="Differences in $pkg: $PKG_DIFF have disappeared.\n $TOTAL_RES" + TOTAL_RES="Differences in $pkg:\n$PKG_DIFF\mhave disappeared.\n$TOTAL_RES" fi if [ -f $pkg_path/package_info/$pkg/dependencies.old ]; then rm $pkg_path/package_info/$pkg/dependencies.old @@ -55,7 +59,7 @@ do done echo " Checks finished" cd $CGAL_ROOT -rm -r dep_check_build +#rm -r dep_check_build if [ -n "$TOTAL_RES" ]; then printf "$TOTAL_RES" echo " You can run cmake with options CGAL_ENABLE_CHECK_HEADERS and CGAL_COPY_DEPENDENCIES ON, make the target packages_dependencies and commit the new dependencies files," diff --git a/Scripts/package_info/Scripts/dependencies b/Scripts/package_info/Scripts/dependencies deleted file mode 100644 index e69de29bb2d..00000000000