Fix a couple of shellcheck issues.

Change-Id: Iaebbe5227ffcc581e794a3be1f8b9020fd600f68
Reviewed-on: https://code.wireshark.org/review/33739
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2019-06-25 08:09:54 -07:00
parent 641d4bbea4
commit 867a13d9e6
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
COMMON_ARGS="--export-area-page"
SVGCLEANER=$( type -p svgcleaner )
#SVGCLEANER=$( type -p svgcleaner )
set_source_svgs() {
local out_icon=$1

View File

@ -372,7 +372,7 @@ rpathify_dir () {
#
# shellcheck disable=SC2086
files=$( ls $2 2>/dev/null )
if [ ! -z "$files" ]; then
if [ -n "$files" ]; then
for file in $files; do
rpathify_file "$file" "$( pwd )"
done