Fix a bug for creating a link for blue-theme

This commit is contained in:
Ilia Rostovtsev
2021-03-06 10:27:16 +03:00
parent fa2e4c87b7
commit 843b7a6cc3

View File

@ -143,8 +143,8 @@ while($d = readdir(DIR)) {
closedir(DIR);
# Make blue-theme a symlink instead of a copy
if (!$min && -r "$tardir/gray-theme") {
system("cd $tardir && ln -s gray-theme blue-theme");
if (!$min && -r "$tardir/$dir/gray-theme") {
system("cd $tardir/$dir && ln -s gray-theme blue-theme");
}
# Remove useless .bak, test and other files, and create the tar.gz file