[vlc-commits] Cosmetic: declare local variables in Pre-Compile.sh
Faustino E. Osuna
git at videolan.org
Thu Jan 26 15:09:35 CET 2012
vlc | branch: master | Faustino E. Osuna <enrique.osuna at gmail.com> | Tue Jan 24 01:31:50 2012 +0100| [eb66cbfe27d24f3d6746fd865f5b364220c2964a] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb66cbfe27d24f3d6746fd865f5b364220c2964a
---
projects/macosx/framework/Pre-Compile.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/projects/macosx/framework/Pre-Compile.sh b/projects/macosx/framework/Pre-Compile.sh
index 39edf01..848f16f 100644
--- a/projects/macosx/framework/Pre-Compile.sh
+++ b/projects/macosx/framework/Pre-Compile.sh
@@ -147,13 +147,13 @@ vlc_install() {
if test $type = "data"; then
vlc_install_object "$main_build_dir/$src_dir/$src" "$dest_dir" "$type" $5
else
- fatdest="$dest_dir/$2"
- shouldUpdateFat="no"
+ local fatdest="$dest_dir/$2"
+ local shouldUpdateFat="no"
- objects=""
+ local objects=""
# 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}/*"
mkdir -p "$tmp_dest_dir"
More information about the vlc-commits
mailing list