aboutsummaryrefslogtreecommitdiff
path: root/handlers/easydialog.sh
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2005-10-19 05:17:53 +0000
committerElijah Saxon <elijah@riseup.net>2005-10-19 05:17:53 +0000
commita116f435ce8b97fdbea9fd25f91517b1fb850881 (patch)
tree7b46ab9401f1742631a66ea40d9d45f76aa78caa /handlers/easydialog.sh
parent1f0d91977b69c4e284de655e958830ead163424c (diff)
downloadbackupninja-a116f435ce8b97fdbea9fd25f91517b1fb850881.tar.gz
backupninja-a116f435ce8b97fdbea9fd25f91517b1fb850881.tar.bz2
fixed many bugs in rdiff.helper
added more verbage to ninjahelper added some IFS=$'' to easydialog (this allows you to pass through blank lines).
Diffstat (limited to 'handlers/easydialog.sh')
-rw-r--r--handlers/easydialog.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/handlers/easydialog.sh b/handlers/easydialog.sh
index 5d70653..18cb7c3 100644
--- a/handlers/easydialog.sh
+++ b/handlers/easydialog.sh
@@ -237,7 +237,12 @@ formDisplay() {
done
) | xargs $DIALOG 2> $temp
local status=$?
- [ $status = 0 ] && REPLY=`cat $temp`
+
+ if [ $status = 0 ]; then
+ IFS=$''
+ REPLY=`cat $temp`
+ IFS=$' \t\n'
+ fi
rm -f $temp
return $status
}