diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in index a3b6cd3a..69c9f041 100644 --- a/scripts/libmakepkg/tidy/strip.sh.in +++ b/scripts/libmakepkg/tidy/strip.sh.in @@ -73,7 +73,7 @@ strip_file() { file="${srcdir}/${t}" dest="${dbgsrc}/${t}" mkdir -p "${dest%/*}" - [[ -f "$file" ]]; then + if [[ -f "$file" ]]; then cp -- "$file" "$dest" fi done < <(source_files "$binary")