[maemo-commits] [maemo-commits] r18008 - projects/connectivity/maemo-bluez-compat/trunk/etc
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Apr 3 17:06:38 EEST 2009
- Previous message: [maemo-commits] r18007 - projects/haf/trunk/libmatchbox2/matchbox/core
- Next message: [maemo-commits] r18009 - in projects/connectivity/maemo-bluez-compat/trunk: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: jh Date: 2009-04-03 17:06:27 +0300 (Fri, 03 Apr 2009) New Revision: 18008 Modified: projects/connectivity/maemo-bluez-compat/trunk/etc/bluez-restore.sh Log: Fix old settings directory detection Modified: projects/connectivity/maemo-bluez-compat/trunk/etc/bluez-restore.sh =================================================================== --- projects/connectivity/maemo-bluez-compat/trunk/etc/bluez-restore.sh 2009-04-03 12:57:21 UTC (rev 18007) +++ projects/connectivity/maemo-bluez-compat/trunk/etc/bluez-restore.sh 2009-04-03 14:06:27 UTC (rev 18008) @@ -19,7 +19,7 @@ CORRECT_DIR="/var/lib/bluetooth/$MY_BDA" -OLD_DIR=`ls -d /var/lib/bluetooth/*|grep -v $MY_BDA|head -n 1` +OLD_DIR=`find /var/lib/bluetooth -maxdepth 1 -type d \! -name "$MY_BDA" \! -name bluetooth|head -n 1` if [ "$OLD_DIR" ]; then rm -rf $CORRECT_DIR
- Previous message: [maemo-commits] r18007 - projects/haf/trunk/libmatchbox2/matchbox/core
- Next message: [maemo-commits] r18009 - in projects/connectivity/maemo-bluez-compat/trunk: . debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]