Kaydet (Commit) 6c5ba692 authored tarafından Yeliz Taneroğlu's avatar Yeliz Taneroğlu Kaydeden (comit) Chris Sherlock

tdf#105204: ShellCheck nitpicks for install-gdb-printers

Change-Id: I4d9a9f52d72b789d60e541193fa06dbfb8236ead
SC2155: Declare and assign separately to avoid masking return values.
Reviewed-on: https://gerrit.libreoffice.org/37551Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
Tested-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
üst 46a30d5e
......@@ -55,7 +55,8 @@ make_autoload() {
local lib="${DESTDIR}${autoloaddir}/$2/$3"
local merged="$4"
local resolved="$(readlink "${DESTDIR}${installdir}/$2/$3")"
local resolved;
resolved=$(readlink "${DESTDIR}${installdir}/$2/$3")
[ -n "$resolved" ] && lib=$resolved
local dir="${lib%/*}"
......
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