Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
qiakai committed Oct 20, 2023
1 parent 75ab469 commit 6fa9e8f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .x-cmd/fabu-pages
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ action_main(){(


x cd "$download_fp" || return
x mkdirp "dist/$version"

local folder; local dir; dir="$(x wsroot)/dist/$version"
x rmrf "$dir"; x mkdirp "$dir"
for folder in pages*; do
local dstfp="${dir}/${folder}.tgz"
[ -f "$dstfp" ] || {
(
# x:info x z "$dstfp" "$folder"
x z "$dstfp" "$folder" || return
x cd "$folder" || return
x z "$dstfp" ./ || return
printf "\n"
}
)
done

(
Expand Down

0 comments on commit 6fa9e8f

Please sign in to comment.