* baseNameOf: paths don't have to be absolute.
This commit is contained in:
@@ -311,7 +311,7 @@ static Expr primDerivationLazy(EvalState & state, const ATermVector & args)
|
||||
static Expr primBaseNameOf(EvalState & state, const ATermVector & args)
|
||||
{
|
||||
PathSet context;
|
||||
return makeStr(baseNameOf(coerceToPath(state, args[0], context)), context);
|
||||
return makeStr(baseNameOf(coerceToString(state, args[0], context)), context);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user