diff options
author | Juergen Daubert <jue@jue.li> | 2020-08-22 12:57:41 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2020-08-22 12:57:41 +0200 |
commit | a378af3d63a94d940b5c0d3e0cd3bba71079fb04 (patch) | |
tree | eaf6bf05b97b7351cab66a8ebe558bb0b217195c | |
parent | 23824fd498decd6c7e5c3c87c735ba81a889730f (diff) | |
download | prt-utils-a378af3d63a94d940b5c0d3e0cd3bba71079fb04.tar.gz prt-utils-a378af3d63a94d940b5c0d3e0cd3bba71079fb04.tar.xz |
prtsweep: only sweep directories, ignore regular files
-rwxr-xr-x | prtsweep | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -174,7 +174,7 @@ if [ -z "$ports" -a "$auto" = "1" ]; then savedir=`pwd` cd $portdir for dir in *; do - sweep $dir + test -d $dir && sweep $dir done cd $savedir done |