From e604cec100dea33f4306b62f7b6f045a7f564b4e Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Sat, 30 Aug 2014 12:11:06 +0200 Subject: [PATCH] labs: remove redundant local declaration Fix one instance where a variable was declared local twice. Change-Id: I1d354b71f9d6f4bb53f67e2c96a280069195b131 --- labs/lib/osbash/functions.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labs/lib/osbash/functions.host b/labs/lib/osbash/functions.host index 5dc2ed4f..6ceca371 100644 --- a/labs/lib/osbash/functions.host +++ b/labs/lib/osbash/functions.host @@ -192,7 +192,7 @@ function wait_for_autofiles { function _autostart_queue { local SRC_DIR=${1%/*} # if SRC_DIR is a code, turn it into a real path - local SRC_DIR="$(src_dir_code_to_dir "$SRC_DIR")" + SRC_DIR="$(src_dir_code_to_dir "$SRC_DIR")" local SRC_NAME=${1##*/}