Author: nextgens
Date: 2006-09-02 13:49:31 +0000 (Sat, 02 Sep 2006)
New Revision: 10349

Modified:
   trunk/apps/new_installer/res/unix/bin/1run.sh
Log:
I bet the recursion isn't handled properly on macos... work around it

Modified: trunk/apps/new_installer/res/unix/bin/1run.sh
===================================================================
--- trunk/apps/new_installer/res/unix/bin/1run.sh       2006-09-02 13:42:03 UTC 
(rev 10348)
+++ trunk/apps/new_installer/res/unix/bin/1run.sh       2006-09-02 13:49:31 UTC 
(rev 10349)
@@ -5,6 +5,9 @@
 echo "Installing freenet in $INSTALL_PATH"
 cd "$DST"

+# We need the exec flag on /bin
+chmod a+rx bin/* lib/* &>/dev/null
+
 # Tweak freenet.ini before the first startup
 PLUGINS=""
 if [[ -e stun ]]
@@ -74,9 +77,6 @@
 fi
 echo -e "console.enabled=true\nconsole.port=$CONSOLE_PORT" >> freenet.ini

-# We need the exec flag on /bin
-chmod a+rx -R $INSTALL_PATH/bin $INSTALL_PATH/lib &>/dev/null
-
 echo "Downloading freenet-stable-latest.jar"
 java -jar bin/sha1test.jar freenet-stable-latest.jar "$DST" &>/dev/null || 
exit 1 
 ln -s freenet-stable-latest.jar freenet.jar


Reply via email to