Changeset 1190
- Timestamp:
- Dec 31, 2008, 4:24:44 PM (9 years ago)
- Location:
- trunk/cereal
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cereal/debian/changelog
r1177 r1190 4 4 * new upstream packaging/build system. all-inclusive makefile, and 5 5 simplified debhelper rules. 6 6 * fixed some bashisms that were causing things to fail with dash/sh. 7 7 8 [ Daniel Kahn Gillmor ] 8 9 * bumped debian/compat to reflect the use of debhelper 7. 9 10 * changed maintainer address. 10 11 11 -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sun, 09 Nov 2008 22:15:13-050012 -- Jameson Graef Rollins <jrollins@finestructure.net> Wed, 31 Dec 2008 16:17:11 -0500 12 13 13 14 cereal (0.23-2) unstable; urgency=low -
trunk/cereal/src/cereal
r1173 r1190 14 14 SHAREDIR=${SHAREDIR:-"/usr/share/cereal"} 15 15 export SHAREDIR 16 source"$SHAREDIR/common"16 . "$SHAREDIR/common" 17 17 ################################################## 18 18 -
trunk/cereal/src/cereal-admin
r1173 r1190 44 44 # create session 45 45 create() { 46 if (( $# < 5 )); then46 if [ $# -lt 5 ] ; then 47 47 failure "Not enough input arguments. 48 48 Type 'cereal-admin help' for more info." … … 240 240 elif is_running "$SESSION" ; then 241 241 echo "Session '$SESSION' is currently running." 242 read -p "Really stop and destroy session? [Y|n]: " OK; OK=${OK:=Y} 242 echo -n "Really stop and destroy session? [Y|n]: " 243 read OK; OK=${OK:=Y} 243 244 if [ "$OK" = 'y' -o "$OK" = 'Y' ] ; then 244 245 if stop_session "$SESSION" ; then … … 255 256 fi 256 257 else 257 read -p "Really destroy session '$SESSION'? [Y|n]: " OK; OK=${OK:=Y} 258 echo -n "Really destroy session '$SESSION'? [Y|n]: " 259 read OK; OK=${OK:=Y} 258 260 if [ "$OK" = 'y' -o "$OK" = 'Y' ] ; then 259 261 if destroy_session "$SESSION" ; then -
trunk/cereal/src/common
r1173 r1190 145 145 #log_write SESSION STATEMENT 146 146 log_write() { 147 echo -e "\ncereal: $2" >> "$SESSIONDIR/$1/socket"147 printf "\ncereal: $2\n" >> "$SESSIONDIR/$1/socket" 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.