Skip to content

Commit

Permalink
sony: common: fix extract-files when dest is missing
Browse files Browse the repository at this point in the history
Change-Id: I3be10ea4d3cad4ea69f2653153864eeb2b488d13
  • Loading branch information
Giulio Cervera committed May 30, 2013
1 parent 423dce0 commit efdd53e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ do
OLDIFS=$IFS IFS=":" PARSING_ARRAY=($FILE) IFS=$OLDIFS
FILE=${PARSING_ARRAY[0]}
DEST=${PARSING_ARRAY[1]}
if [ -z $DEST ]
then
DEST=$FILE
fi
DIR=`dirname $FILE`
if [ ! -d $BASE/$DIR ]
then
Expand Down

0 comments on commit efdd53e

Please sign in to comment.