antiright-devel
[Top][All Lists]
Advanced

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

[Antiright-devel] antiright/src ACE


From: Jeffrey Bedard
Subject: [Antiright-devel] antiright/src ACE
Date: Sun, 29 Aug 2004 20:07:10 -0400

CVSROOT:        /cvsroot/antiright
Module name:    antiright
Branch:         
Changes by:     Jeffrey Bedard <address@hidden> 04/08/30 00:02:27

Modified files:
        src            : ACE 

Log message:
        Fixed settings utility, making proper use of the new dialog code.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/antiright/antiright/src/ACE.diff?tr1=1.20&tr2=1.21&r1=text&r2=text

Patches:
Index: antiright/src/ACE
diff -u antiright/src/ACE:1.20 antiright/src/ACE:1.21
--- antiright/src/ACE:1.20      Sat Aug 28 01:30:36 2004
+++ antiright/src/ACE   Mon Aug 30 00:02:27 2004
@@ -202,12 +202,11 @@
 
 Settings_Node()
 {
-    new_value=\
-       $($ARSHELL\
-       -ADp "$(echo -n $1:) [$(ACE_read_configuration_value $1)]")
-    if [ "$(echo -n $new_value | cut -d: -f2-)" != "" ]; then
-       echo -n "$new_value" >> ~/.antiright
-       echo >> ~/.antiright
+    new_value=$($ARSHELL\
+       -ADp "$1: [$(ACE_read_configuration_value $1)]")
+    echo new value is $new_value
+    if [ "$new_value" != "" ]; then
+       echo "$1":"$new_value" >> ~/.antiright
     fi
 }
 Settings()




reply via email to

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