Commit ebda8e12 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack.d/common.sh: fix remove_file for wildcard

parent 2209b095
...@@ -57,7 +57,7 @@ remove_file() ...@@ -57,7 +57,7 @@ remove_file()
local file_pattern="$1" local file_pattern="$1"
[ -n "$file_pattern" ] || return [ -n "$file_pattern" ] || return
for file in $(eval echo "$BUILDROOT$file_pattern"); do for file in $BUILDROOT$file_pattern ; do
[ -e "$file" ] || [ -L "$file" ] || continue [ -e "$file" ] || [ -L "$file" ] || continue
rm -v "$file" rm -v "$file"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment