summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/rr4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rr b/bin/rr
index b62a9851..2f630d6a 100755
--- a/bin/rr
+++ b/bin/rr
@@ -224,7 +224,7 @@ class RRHelper
$progressBar = new ProgressBar($output);
$progressBar->setFormat('verbose');
- $zipFileName = tempnam('.', "rr_zip");
+ $zipFileName = 'rr_zip_'.random_int(0, 10000);
if (RRHelper::getOSType() == 'linux') {
$zipFileName .= '.tar.gz';
}
@@ -296,7 +296,7 @@ class RRHelper
}
copy(
- __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '.rr.yaml',
+ __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '.rr.yaml',
$input->getOption('location') . DIRECTORY_SEPARATOR . '.rr.yaml'
);
$output->writeln('<info>Config file created!</info>');