Skip to content

Commit

Permalink
src-subdir-mgt.sh: Don't copy from empty proglang/ subdirs (these shd…
Browse files Browse the repository at this point in the history
…nt exist btw) to avoid warning
  • Loading branch information
ds26gte authored and Emmanuel Schanzer committed Feb 15, 2025
1 parent 5329f65 commit 728ef51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/maker/src-subdir-mgt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ function adjustproglangsubdirs() {
local d=$1
local pl=$2

test -d "$d"/"$pl" && $CP -p "$d"/"$pl"/* "$d"
if test -d "$d"/"$pl"; then
(find "$d"/"$pl" -maxdepth 0 -empty|grep -q .) || $CP -p "$d"/"$pl"/* "$d"
fi

if test "$pl" != pyret -a "$pl" != none; then
local lang
Expand Down

0 comments on commit 728ef51

Please sign in to comment.