diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-10-21 22:27:52 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2016-11-06 11:36:06 +0000 |
commit | 843555e18822d50168bbd56d75db2e88f3d7ef3b (patch) | |
tree | 000a3c6079e35fe8db7436653b341d6e344f3ead | |
parent | af0f6ebaa86fb493d0bd43998b69e92973040c2f (diff) | |
download | drakiso-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-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |