X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=gui;h=fa3ae4826a9e96062e5455c3969c6a9290ea4a26;hb=7b5b8e1a2d1fbcadcf966eb4c64147540efb9eb2;hp=6003a90ab18a11c51bf4ae4c0a98fa4e74c2bb38;hpb=021cb6acbe9be83506f27e9eff3cd434e6daf149;p=gsu.git diff --git a/gui b/gui index 6003a90..fa3ae48 100644 --- a/gui +++ b/gui @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright (C) 2006 Andre Noll +# Licensed under the LGPL, version 3. See COPYING and COPYING.LESSER. if [[ "$(type -t _gsu_setup)" != "function" ]]; then gsu_dir=${gsu_dir:-${BASH_SOURCE[0]%/*}} @@ -87,6 +89,7 @@ gsu_msgbox() result='temp file for textbox' return fi + trap "rm -f $tmp" EXIT echo "$1" > "$tmp" gsu_textbox "$tmp" rm -f "$tmp" # ignore errors