mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-27 04:14:41 -05:00
minor changes to allow sources on network share
This commit is contained in:
parent
ea2bddb2ed
commit
fc5620fcfa
|
|
@ -62,7 +62,7 @@ function extract_and_patch {
|
|||
echo "invalid archive type"
|
||||
exit 1
|
||||
fi
|
||||
tar $extractflags $SRCDIR/$1-$2$archivetype || { echo "Error extracting "$1; exit 1; }
|
||||
tar $extractflags "$SRCDIR/$1-$2$archivetype" || { echo "Error extracting "$1; exit 1; }
|
||||
touch extracted-$1
|
||||
fi
|
||||
if [[ ! -f patched-$1 && -f $patchdir/$1-$2.patch ]]; then
|
||||
|
|
@ -217,7 +217,7 @@ else
|
|||
SRCDIR=`pwd`
|
||||
fi
|
||||
|
||||
cd $SRCDIR
|
||||
cd "$SRCDIR"
|
||||
for archive in $archives $targetarchives $hostarchives
|
||||
do
|
||||
echo $archive
|
||||
|
|
@ -242,13 +242,13 @@ do
|
|||
echo $destdir
|
||||
if [ ! -d $destdir ]; then
|
||||
mkdir -p $destdir
|
||||
bzip2 -cd $SRCDIR/$archive | tar -xf - -C $destdir || { echo "Error extracting "$archive; exit 1; }
|
||||
bzip2 -cd "$SRCDIR/$archive" | tar -xf - -C $destdir || { echo "Error extracting "$archive; exit 1; }
|
||||
fi
|
||||
done
|
||||
|
||||
for archive in $hostarchives
|
||||
do
|
||||
tar -xjf $SRCDIR/$archive
|
||||
tar -xjf "$SRCDIR/$archive"
|
||||
done
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user