Skip to content

Commit

Permalink
Fixing bugs... testing in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
dtompkins committed Oct 10, 2009
1 parent df61119 commit e2e5376
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions fbcmd_update.php
Expand Up @@ -203,7 +203,7 @@
if ($isSavePrefs) {
$fileContents = SavePrefsContents();
if (file_put_contents($prefsFile,$fileContents)) {
Trace("creating file [{$fbcmdBaseDir}]");
Trace("creating file [{$prefsFile}]");
} else {
print "Error: cound not create file: [{$prefsFile}]\n";
FatalError();
Expand All @@ -219,7 +219,7 @@
print "Copy script to path?: ";
if ($fbcmdPrefs['install_copy_to_path']) {
print "[Yes]\n";
print "Path location: [{$fbcmdPrefs['install_path_dir']}]\n\n";
print "Path location: [{$fbcmdPrefs['install_path_dir']}]\n\n";
} else {
print "[No]\n";
}
Expand Down Expand Up @@ -308,7 +308,7 @@
if (file_put_contents($fullScriptName,$contentsBatch)) {
Trace ("created script: [{$fullScriptName}]");
if (!$isWindows) {
if (chmod($scriptName,0777)) {
if (chmod($fullScriptName,0777)) {
Trace ("chmod script: [{$fullScriptName}]");
} else {
print "error chmod: [{$fullScriptName}] (non-fatal)\n";
Expand Down Expand Up @@ -369,7 +369,7 @@

if (($newUpdateVersion > $fbcmdUpdateVersion)||(!file_exists($updateFile))) {
if (file_put_contents($updateFile,$contentsRemoteUpdater)) {
Trace("creating [{$updateFIle}]");
Trace("creating [{$updateFile}]");
if ($newUpdateVersion > $fbcmdUpdateVersion) {
if ($fbcmdPrefs['install_auto_restart']) {
print "\nNewer update software downloaded [{$fbcmdUpdateVersion}] -> [{$newUpdateVersion}]\n";
Expand Down

0 comments on commit e2e5376

Please sign in to comment.