From: Steve Scaffidi Date: Fri, 18 Sep 2009 18:48:58 +0000 (-0400) Subject: moved demo scripts and docs into the demo directory X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a1ca27b4e9283a89dbcc627641dafeb07ccacb8;p=urisagit%2FStem.git moved demo scripts and docs into the demo directory --- diff --git a/DEMO b/demo/DEMO similarity index 100% rename from DEMO rename to demo/DEMO diff --git a/DEMO_CHAT b/demo/DEMO_CHAT similarity index 100% rename from DEMO_CHAT rename to demo/DEMO_CHAT diff --git a/DEMO_INETD b/demo/DEMO_INETD similarity index 100% rename from DEMO_INETD rename to demo/DEMO_INETD diff --git a/DEMO_TAIL b/demo/DEMO_TAIL similarity index 100% rename from DEMO_TAIL rename to demo/DEMO_TAIL diff --git a/bin/chat2_demo b/demo/chat2_demo similarity index 100% rename from bin/chat2_demo rename to demo/chat2_demo diff --git a/bin/chat_demo b/demo/chat_demo similarity index 100% rename from bin/chat_demo rename to demo/chat_demo diff --git a/bin/hello_demo b/demo/hello_demo similarity index 94% rename from bin/hello_demo rename to demo/hello_demo index 313c5c1..3fe85d9 100755 --- a/bin/hello_demo +++ b/demo/hello_demo @@ -7,7 +7,7 @@ our $s ; print "HELLO DEMO\n" ; use File::Basename qw( basename ); -$ENV{PATH} .= ':' . basename( $0 ) . ':.'; +$ENV{PATH} .= ':' . basename( $0 ) . ':./bin:.'; for my $prog qw( run_stem xterm ) { die "Can't find $prog in PATH\n" if system( "which $prog >/dev/null 2>&1" ) != 0; diff --git a/bin/inetd_demo b/demo/inetd_demo similarity index 96% rename from bin/inetd_demo rename to demo/inetd_demo index 9556f69..0a80d12 100755 --- a/bin/inetd_demo +++ b/demo/inetd_demo @@ -10,7 +10,7 @@ my @children ; print "INETD: $ENV{PATH}\n" ; use File::Basename qw( basename ); -$ENV{PATH} .= ':' . basename( $0 ) . ':.'; +$ENV{PATH} .= ':' . basename( $0 ) . ':.:../bin:./bin'; for my $prog qw( run_stem xterm telnet ) { die "Can't find $prog in PATH\n" if system( "which $prog >/dev/null 2>&1" ) != 0; diff --git a/bin/tail_demo b/demo/tail_demo similarity index 100% rename from bin/tail_demo rename to demo/tail_demo