Skip to content

Commit

Permalink
ocrd-make: copy/symlink newer versions of the script
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jun 3, 2020
1 parent fac8b72 commit 91a1384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd-make
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function process {
for f in *.mk Makefile;do
local src="$SHAREDIR/$f"
local dst="$CURDIR/$f"
if [[ -e "$dst" ]];then
if [[ ! -e "$dst" || "$src" -nt "$dst" ]];then
continue
fi
ln -s "$src" "$dst" 2>/dev/null || cp -f "$src" "$dst"
Expand Down

0 comments on commit 91a1384

Please sign in to comment.