vagrant-phpstorm-tunnel 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/php +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8db9342348ee3bd05eb03bb7bc6c05477a36e08
|
4
|
+
data.tar.gz: 4e9d4f90708323ea405fd5420852dea92809ecbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7503ad50da770ef23d2d68342479283aace344f803216ef1c42e4af6f12b33cc72d54b3d480cfeaf2611fc66631583aaaf042684e1df177cf9928487058436c
|
7
|
+
data.tar.gz: 6145660f35f783c4eeea731fa2b0d68f22c33edb21b8eff969d7caaab11488f77fc931868080aa14c3cfaaa2d89331e9facffd1d74b1a9bcfe4c9a990c6cb478
|
data/data/php
CHANGED
@@ -32,10 +32,12 @@ foreach ($arguments as $index => &$argument) {
|
|
32
32
|
if (file_exists($filePath)) {
|
33
33
|
if (strpos($filePath, $projectDirHost) !== false) {
|
34
34
|
// Mapping project paths to remote paths
|
35
|
-
$arguments[$index] = str_replace($projectDirHost, $
|
35
|
+
$arguments[$index] = str_replace($projectDirHost, $projectDirGuest, $filePath);
|
36
36
|
} else {
|
37
37
|
// Mapping any other local system paths to remote paths, upload files
|
38
|
-
|
38
|
+
if(!is_dir($homeDirHost . '/scripts/')) {
|
39
|
+
mkdir($homeDirHost . '/scripts/', 0777, true);
|
40
|
+
}
|
39
41
|
copy($filePath, $homeDirHost . '/scripts/' . basename($filePath));
|
40
42
|
$arguments[$index] = $homeDirGuest . '/scripts/' . basename($filePath);
|
41
43
|
}
|