myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2787] trunk/installers/ubuntu/install.bash: Vari


From: noreply
Subject: [myexperiment-hackers] [2787] trunk/installers/ubuntu/install.bash: Variable needs to be quoted in if statement in case it is null
Date: Mon, 7 Nov 2011 06:22:53 -0500 (EST)

Revision
2787
Author
drn05r
Date
2011-11-07 06:22:53 -0500 (Mon, 07 Nov 2011)

Log Message

Variable needs to be quoted in if statement in case it is null

Modified Paths

Diff

Modified: trunk/installers/ubuntu/install.bash (2786 => 2787)


--- trunk/installers/ubuntu/install.bash	2011-11-06 15:39:51 UTC (rev 2786)
+++ trunk/installers/ubuntu/install.bash	2011-11-07 11:22:53 UTC (rev 2787)
@@ -33,7 +33,7 @@
 	export PATH=$PATH:/var/lib/gems/1.8/bin
 fi
 sudo env PATH=$PATH rdoc-data --install ||  { echo "Could not install rdoc-data. Aborting ..."; exit 9; }
-if [ $nordoc -eq 0 ]; then
+if [ "$nordoc" -eq 0 ]; then
         sudo gem rdoc --all --overwrite || { echo "Could overwrite RDoc for existing Ruby Gems. Aborting ..."; exit 39; }
 fi
 sudo gem install $nordoc $nori cgi_multipart_eof_fix daemons dsl_accessor fastthread gem_plugin json mime-types mongrel mongrel_cluster needle net-sftp net-ssh openid_login_generator RedCloth ruby-yadis rubyzip solr-ruby xml-simple libxml-ruby oauth ruby-hmac openurl curb marc taverna-scufl taverna-t2flow || { echo "Failed to install all remaining generic Ruby Gems required by myExperiment. Aborting ..."; exit 8; }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]