Commit eb66cbfe authored by Faustino E. Osuna's avatar Faustino E. Osuna Committed by Jean-Baptiste Kempf

Cosmetic: declare local variables in Pre-Compile.sh

Follow the same style used earlier in the code and declare local
variables with the 'local' directive.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent f06cec1a
...@@ -147,13 +147,13 @@ vlc_install() { ...@@ -147,13 +147,13 @@ vlc_install() {
if test $type = "data"; then if test $type = "data"; then
vlc_install_object "$main_build_dir/$src_dir/$src" "$dest_dir" "$type" $5 vlc_install_object "$main_build_dir/$src_dir/$src" "$dest_dir" "$type" $5
else else
fatdest="$dest_dir/$2" local fatdest="$dest_dir/$2"
shouldUpdateFat="no" local shouldUpdateFat="no"
objects="" local objects=""
# Create a temporary destination dir to store each ARCH object file # Create a temporary destination dir to store each ARCH object file
tmp_dest_dir="$VLC_BUILD_DIR/tmp/$type" local tmp_dest_dir="$VLC_BUILD_DIR/tmp/$type"
rm -Rf "${tmp_dest_dir}/*" rm -Rf "${tmp_dest_dir}/*"
mkdir -p "$tmp_dest_dir" mkdir -p "$tmp_dest_dir"
......
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