[freenet-cvs] r11556 - in trunk/apps/new_installer: res/unix/bin src

nextgens at freenetproject.org nextgens at freenetproject.org
Wed Jan 3 14:39:09 UTC 2007


Author: nextgens
Date: 2007-01-03 14:39:08 +0000 (Wed, 03 Jan 2007)
New Revision: 11556

Modified:
   trunk/apps/new_installer/res/unix/bin/1run.sh
   trunk/apps/new_installer/src/Sha1Test.java
Log:
Doh, part 2

Modified: trunk/apps/new_installer/res/unix/bin/1run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/1run.sh	2007-01-03 14:14:00 UTC (rev 11555)
+++ trunk/apps/new_installer/res/unix/bin/1run.sh	2007-01-03 14:39:08 UTC (rev 11556)
@@ -4,6 +4,7 @@
 then
 	DST="$INSTALL_PATH"
 else
+	echo "Installing from tarball"
 	DST="."
 fi
 

Modified: trunk/apps/new_installer/src/Sha1Test.java
===================================================================
--- trunk/apps/new_installer/src/Sha1Test.java	2007-01-03 14:14:00 UTC (rev 11555)
+++ trunk/apps/new_installer/src/Sha1Test.java	2007-01-03 14:39:08 UTC (rev 11556)
@@ -14,7 +14,7 @@
 
 	public static void main(String[] args) {
 		final String URI2 = args[0];
-		final String path = (args[1] == null ? "." : args[1] )+"/";
+		final String path = (args.length < 2 ? "." : args[1] )+"/";
 		int count = 0;
 		if(URI2 == null) System.exit(2);
 




More information about the cvs mailing list