Fixed issue with space(s) in zipfile name or destination directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23784 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
73bfb57abd
commit
a9f2290ede
@ -77,15 +77,15 @@ unzipFile()
|
||||
|
||||
if [ $isImage ]; then
|
||||
unzipDir=$tmpDir/unzip
|
||||
attrrmrf $unzipDir
|
||||
mkdir -p $unzipDir
|
||||
attrrmrf "$unzipDir"
|
||||
mkdir -p "$unzipDir"
|
||||
|
||||
$unzip -q -d $unzipDir $zipFile
|
||||
$cp -r ${sPrefix}$unzipDir/. ${tPrefix}$targetUnzipDir
|
||||
$unzip -q -d "$unzipDir" "$zipFile"
|
||||
$cp -r "${sPrefix}$unzipDir/." "${tPrefix}$targetUnzipDir"
|
||||
|
||||
attrrmrf $unzipDir
|
||||
attrrmrf "$unzipDir"
|
||||
else
|
||||
$unzip -q -o -d ${tPrefix}$targetUnzipDir ${sPrefix}$zipFile
|
||||
$unzip -q -o -d "${tPrefix}$targetUnzipDir" "${sPrefix}$zipFile"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user