diff options
author | Elijah Saxon <elijah@riseup.net> | 2005-10-19 05:17:53 +0000 |
---|---|---|
committer | Elijah Saxon <elijah@riseup.net> | 2005-10-19 05:17:53 +0000 |
commit | a116f435ce8b97fdbea9fd25f91517b1fb850881 (patch) | |
tree | 7b46ab9401f1742631a66ea40d9d45f76aa78caa /handlers/easydialog.sh | |
parent | 1f0d91977b69c4e284de655e958830ead163424c (diff) | |
download | backupninja-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.sh | 7 |
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 } |