Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKai Ren <tyranron@gmail.com>2017-06-27 18:21:27 +0300
committerAleksander Machniak <alec@alec.pl>2017-06-27 18:22:01 +0300
commitda63acbd0d2f2afc32a126cda425aacff7441dce (patch)
tree3e24c1795e49cb46adc21f06e2cf945f7e47a16d /bin
parent2c6cc41c8f226c4403625c953c9e35e4a8380c76 (diff)
Fix absent directory error in `install-jsdeps.sh` when processing `maps` section (#5819)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install-jsdeps.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/install-jsdeps.sh b/bin/install-jsdeps.sh
index e5c68ca9d..a88a34a25 100755
--- a/bin/install-jsdeps.sh
+++ b/bin/install-jsdeps.sh
@@ -215,6 +215,9 @@ function extract_zipfile($package, $srcfile)
// unzip the archive and map source to dest files/directories
else if (!empty($package['map'])) {
$extract = $CACHEDIR . '/' . $package['lib'] . '-extract';
+ if (!is_dir($extract)) {
+ mkdir($extract, 0774, true);
+ }
exec(sprintf('%s -o %s -d %s', $UNZIP, escapeshellarg($srcfile), $extract), $out, $retval);
// get the root folder of the extracted package