aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scripts/fixfiles.bash
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts/fixfiles.bash')
-rw-r--r--examples/scripts/fixfiles.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/fixfiles.bash b/examples/scripts/fixfiles.bash
index 67311ee..15f3ba8 100644
--- a/examples/scripts/fixfiles.bash
+++ b/examples/scripts/fixfiles.bash
@@ -62,7 +62,7 @@ processdir()
set +f
for file in * ; do
set -f
- if [ "$file" != "." -a "$file" != ".." ] ; then
+ if [ "$file" != "." ] && [ "$file" != ".." ] ; then
if [ -L "$file" ] ; then
echo "skipping symlink" $file in `pwd`
elif [ -d "$file" ] ; then