0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 01:06:12 +00:00
Files
termux-packages/scripts/build/termux_step_copy_into_massagedir.sh

8 lines
312 B
Bash

termux_step_copy_into_massagedir() {
local DEST="$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX_CLASSICAL"
mkdir -p "$DEST"
# Copy files changed during the build into massagedir in order to massage them
tar -C "$TERMUX_PREFIX_CLASSICAL" -N "$TERMUX_BUILD_TS_FILE" --exclude='tmp' -cf - . | \
tar -C "$DEST" -xf -
}