diff --git a/SConscript b/SConscript index a15781633016a06cfbf25f9100bfd62c28fb72c5..ded65c966507d3c7d61fd925f63c4e8cb6e790f7 100644 --- a/SConscript +++ b/SConscript @@ -57,12 +57,13 @@ lib=myenv.SharedLibrary("unpin", Split(files)) install=myenv.Install("$ZIPR_INSTALL/plugins/", lib) Default(install) -pedi = Command( target = "./testoutput", - source = "./SConscript", - action = "cd "+os.environ['ZIPR_INSTALL']+" ; " +os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; cd -" ) -Default( pedi ) - +ret=[install,lib] +pedi = Command( target = "./unpin-testoutput", + source = install, + action = "cd "+os.environ['ZIPR_INSTALL']+" ; " +os.environ['PEDI_HOME']+"/pedi -m manifest.txt ; cd -" ) -ret=pedi+lib +if Dir('.').abspath == Dir('#.').abspath: + ret=ret+pedi +Default( ret ) Return('ret')