mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Allow explicitly local variable that die at EOF when sourcing files
darcs-hash:20051007212844-ac50b-d6494ae3271225e4833ef3550e9cfb0c5e3b3802.gz
This commit is contained in:
parent
1f60bfa55f
commit
c84d360ae7
1 changed files with 2 additions and 0 deletions
|
@ -1918,7 +1918,9 @@ static int builtin_source( wchar_t ** argv )
|
|||
else
|
||||
{
|
||||
reader_push_current_filename( argv[1] );
|
||||
env_push(0);
|
||||
res = reader_read();
|
||||
env_pop();
|
||||
if( res )
|
||||
{
|
||||
sb_printf( sb_err,
|
||||
|
|
Loading…
Reference in a new issue