diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 21:19:22 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 21:19:22 -0300 |
commit | 214a0e75d3702b2036a6ba6dce45cf2df5412649 (patch) | |
tree | 5dd9b990db3007084dabb21b354ddcfebc260da4 | |
parent | 155a47c8b763aedf2a5394650c2df9298badd8c6 (diff) | |
download | stowpkg-214a0e75d3702b2036a6ba6dce45cf2df5412649.tar.gz stowpkg-214a0e75d3702b2036a6ba6dce45cf2df5412649.tar.bz2 |
Exclude src/ and stow/ when building the package list
-rwxr-xr-x | stowpkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -255,7 +255,7 @@ stowpkg_list () { local name="-name \'$pattern*\'" fi - find $BASE -type l | while read file; do + find $BASE -type l | grep -v "^src/" | grep -v "^stow/" | while read file; do dest="`stat $file | head -n 1 | cut -d '>' -f 2 | sed -e 's/ //'`" if echo $dest | grep -q "^stow/" || echo $dest | grep -q "/stow/"; then |