~pundiramit/linaro-android-build-tools/labt

« back to all changes in this revision

Viewing changes to build-scripts/create-user-build-script

  • Committer: Amit Pundir
  • Date: 2013-01-22 08:15:22 UTC
  • Revision ID: amit.pundir@linaro.org-20130122081522-xvheruc5oxi8px0f
fix build error when overlay is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
        if [ -n "$SOURCE_OVERLAY" ]; then
216
216
                cat <<EOF
217
217
 
218
 
# extract the vendor's source overlay
219
 
tar -x -a -f "\$SOURCE_OVERLAY" -C .
 
218
if [ "a\$SOURCE_OVERLAY" != "a" ]; then
 
219
        # extract the vendor's source overlay
 
220
        tar -x -a -f "\$SOURCE_OVERLAY" -C .
 
221
fi
220
222
EOF
221
223
        fi
222
224
        echo