summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2016-10-21 22:27:52 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2016-11-06 11:36:06 +0000
commit843555e18822d50168bbd56d75db2e88f3d7ef3b (patch)
tree000a3c6079e35fe8db7436653b341d6e344f3ead
parentaf0f6ebaa86fb493d0bd43998b69e92973040c2f (diff)
downloaddrakiso-843555e18822d50168bbd56d75db2e88f3d7ef3b.tar
drakiso-843555e18822d50168bbd56d75db2e88f3d7ef3b.tar.gz
drakiso-843555e18822d50168bbd56d75db2e88f3d7ef3b.tar.bz2
drakiso-843555e18822d50168bbd56d75db2e88f3d7ef3b.tar.xz
drakiso-843555e18822d50168bbd56d75db2e88f3d7ef3b.zip
draklive: create mgagfxbootXXXX temporary directory in cwd.
This avoids failure if there is no tmp directory in the cwd.
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 5eb0b82..5fc70aa 100755
--- a/draklive
+++ b/draklive
@@ -571,7 +571,7 @@ sub remove_unneeded_bootlogo_locales {
-f $bootlogo or return;
my $cwd = Cwd::getcwd();
- my $tempdir = File::Temp::tempdir("tmp/mgagfxbootXXXX", CLEANUP => 1);
+ my $tempdir = File::Temp::tempdir("mgagfxbootXXXX", CLEANUP => 1);
chdir $tempdir;
!system("cpio -id < $bootlogo") or return;