bin/runcpu: remove dead code, resolve SPEC path
This commit is contained in:
@@ -90,8 +90,6 @@ console.log("simd: " + chalk.red(argv.simd));
|
||||
console.log("sunway generation: " + chalk.red(sunwayGeneration));
|
||||
console.log(`using sysroot: ${chalk.red(sysroot)}`);
|
||||
|
||||
const specPath = path.resolve(argv.spec);
|
||||
|
||||
// Function to convert hash to prefix
|
||||
|
||||
// Generate a random UUID for this run
|
||||
@@ -112,7 +110,7 @@ const unalignedFlags = [
|
||||
];
|
||||
|
||||
|
||||
const spec = mkSPEC(argv.spec);
|
||||
const spec = mkSPEC(path.resolve(argv.spec));
|
||||
|
||||
const specProc = await spawnSPECWithID(
|
||||
spec,
|
||||
|
||||
Reference in New Issue
Block a user