summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 14:26:47 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-13 14:26:47 -0400
commit1a8d5681d284dea1910099e398991fc51eadd96d (patch)
treea97676e138d25879188ce22de17c00c7ac335126 /tools
parentb3c36bc62472b56f30ef88b1e0532f83204c7c79 (diff)
whoops, don't create a file named 'all'
Diffstat (limited to 'tools')
-rwxr-xr-xtools/notsd-move2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/notsd-move b/tools/notsd-move
index 85e3fcb3cd..0e8cc0dd87 100755
--- a/tools/notsd-move
+++ b/tools/notsd-move
@@ -683,7 +683,7 @@ breakup_makefile() (
[[ "$(wc -l <<<"$d")" = 1 ]]
file="$d/Makefile"
fi
- if ! in_array "$file" "${files[@]}"; then
+ if [[ "$file" != all ]] && ! in_array "$file" "${files[@]}"; then
cat .tmp.move.all > "$file"
files+=("$file")
fi