Skip to content

Commit 05c3c81

Browse files
dunglasfabpot
authored andcommitted
[link] clear the cache after linking
1 parent 5a6e2d7 commit 05c3c81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

link

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ foreach (glob("$argv[1]/vendor/symfony/*", GLOB_ONLYDIR | GLOB_NOSORT) as $dir)
5757
$filesystem->symlink($sfDir, $dir);
5858
echo "\"$package\" has been linked to \"$sfPackages[$package]\".".PHP_EOL;
5959
}
60+
61+
foreach (glob("$argv[1]/var/cache/*") as $cacheDir) {
62+
$filesystem->remove($cacheDir);
63+
}

0 commit comments

Comments
 (0)