summaryrefslogtreecommitdiffstats
path: root/src/base/io/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/io/io.c')
-rw-r--r--src/base/io/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/io/io.c b/src/base/io/io.c
index 49e1def1..a5cffbf4 100644
--- a/src/base/io/io.c
+++ b/src/base/io/io.c
@@ -231,6 +231,8 @@ int IoCommandRead( Abc_Frame_t * pAbc, int argc, char ** argv )
sprintf( Command, "read_constr %s", pFileName );
else if ( !strcmp( Extra_FileNameExtension(pFileName), "c" ) )
sprintf( Command, "so %s", pFileName );
+ else if ( !strcmp( Extra_FileNameExtension(pFileName), "script" ) )
+ sprintf( Command, "so %s", pFileName );
else if ( !strcmp( Extra_FileNameExtension(pFileName), "dsd" ) )
sprintf( Command, "dsd_load %s", pFileName );
if ( Command[0] )