Print file adds / deletes

This commit is contained in:
0x1eef 2023-03-23 00:54:31 -03:00
parent 55cd38c86a
commit 1bf6b3dc8d

View file

@ -71,10 +71,12 @@ install() {
nw_files=$(git diff --name-only --diff-filter=AM $rev..HEAD | cut -d / -f1 -f2 | uniq)
rm_files=$(git diff --name-only --diff-filter=D $rev..HEAD)
for file in $rm_files; do
echo RM $ports_dir/$file
rm $ports_dir/$file
done
for file in $nw_files; do
if [ -f "$file" ]; then
echo $file
$libexec_dir/install-file $ports_dir $file
else
dir=$file