diff --git a/sa-train-user.sh b/sa-train-user.sh index 3c4d7c0..9f6a467 100644 --- a/sa-train-user.sh +++ b/sa-train-user.sh @@ -23,7 +23,7 @@ typeset -i "MAX_AGE=${max_age:-90}" function examine { local subdir=$1 - if [[ -n "$subdir" -a "$subdir" == "${subdir%/}" ]]; then + if [[ -n "$subdir" && "$subdir" == "${subdir%/}" ]]; then subdir="$subdir/" fi if [[ ! -d ./${subdir}cur ]]; then diff --git a/sa-train.ipr b/sa-train.ipr deleted file mode 100644 index 0d09a77..0000000 --- a/sa-train.ipr +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CodeNarc - Ruleset rulesets/imports.xml - - - CodeNarc - Ruleset rulesets/unused.xml - - - Data flowGroovy - - - Declaration redundancyGroovy - - - Error handlingGroovy - - - GSPGrailsGroovy - - - GrailsGroovy - - - Groovy - - - - - YAML - - - - - - - - - - - - \ No newline at end of file diff --git a/sa-train.iws b/sa-train.iws deleted file mode 100644 index 85fa715..0000000 --- a/sa-train.iws +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -