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)
|
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)
|
rm_files=$(git diff --name-only --diff-filter=D $rev..HEAD)
|
||||||
for file in $rm_files; do
|
for file in $rm_files; do
|
||||||
|
echo RM $ports_dir/$file
|
||||||
rm $ports_dir/$file
|
rm $ports_dir/$file
|
||||||
done
|
done
|
||||||
for file in $nw_files; do
|
for file in $nw_files; do
|
||||||
if [ -f "$file" ]; then
|
if [ -f "$file" ]; then
|
||||||
|
echo $file
|
||||||
$libexec_dir/install-file $ports_dir $file
|
$libexec_dir/install-file $ports_dir $file
|
||||||
else
|
else
|
||||||
dir=$file
|
dir=$file
|
||||||
|
|
Loading…
Reference in a new issue