Print file adds / deletes
This commit is contained in:
parent
55cd38c86a
commit
1bf6b3dc8d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue