Skip to content

Commit

Permalink
Fix packager must ignore symbolic links in custom
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 24, 2017
1 parent 8303cee commit ddbf841
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/makepack-dolibarr.pl
Expand Up @@ -592,6 +592,8 @@
print "Remove subdir of custom dir\n";
print "find $BUILDROOT/$PROJECT/htdocs/custom/* -type d -exec rm -fr {} \\;\n";
$ret=`find $BUILDROOT/$PROJECT/htdocs/custom/* -type d -exec rm -fr {} \\; >/dev/null 2>&1`; # For custom we want to remove all subdirs but not files
print "find $BUILDROOT/$PROJECT/htdocs/custom/* -type l -exec rm -fr {} \\;\n";
$ret=`find $BUILDROOT/$PROJECT/htdocs/custom/* -type l -exec rm -fr {} \\; >/dev/null 2>&1`; # For custom we want to remove all subdirs, even symbolic links, but not files
}

# Build package for each target
Expand Down

0 comments on commit ddbf841

Please sign in to comment.