src/Tools/Graphview/lib/Tools/graphview
author wenzelm
Tue, 25 Sep 2012 16:55:32 +0200
changeset 49563 4b2762e12b47
parent 49558 af7b652180d5
child 49565 ea4308b7ef0f
permissions -rwxr-xr-x
more complete build; added option -c to imitate old browser;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     2
#
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     3
# Author: Markus Kaiser, TU Muenchen
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     4
# Author: Makarius
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     5
#
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     6
# DESCRIPTION: graphview command-line tool wrapper
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     7
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     8
## sources
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
     9
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    10
declare -a SOURCES=(
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    11
  "src/floating_dialog.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    12
  "src/frame.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    13
  "src/graph_panel.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    14
  "src/graph_xml.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    15
  "src/layout_pendulum.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    16
  "src/main_panel.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    17
  "src/model.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    18
  "src/mutator_dialog.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    19
  "src/mutator_event.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    20
  "src/mutator.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    21
  "src/parameters.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    22
  "src/popups.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    23
  "src/shapes.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    24
  "src/tooltips.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    25
  "src/visualizer.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    26
  "../jEdit/src/html_panel.scala"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    27
)
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    28
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    29
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    30
## diagnostics
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    31
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    32
PRG="$(basename "$0")"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    33
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    34
function usage()
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    35
{
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    36
  echo
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    37
  echo "Usage: isabelle $PRG [OPTIONS] GRAPH_FILE"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    38
  echo
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    39
  echo "  Options are:"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    40
  echo "    -b           build only"
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    41
  echo "    -c           cleanup -- remove GRAPH_FILE after use"
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    42
  echo "    -f           fresh build"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    43
  echo
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    44
  exit 1
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    45
}
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    46
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    47
function fail()
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    48
{
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    49
  echo "$1" >&2
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    50
  exit 2
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    51
}
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    52
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    53
function failed()
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    54
{
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    55
  fail "Failed!"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    56
}
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    57
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    58
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    59
## process command line
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    60
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    61
# options
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    62
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    63
BUILD_ONLY=false
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    64
CLEAN=""
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    65
BUILD_JARS="jars"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    66
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    67
while getopts "bcf" OPT
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    68
do
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    69
  case "$OPT" in
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    70
    b)
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    71
      BUILD_ONLY=true
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    72
      ;;
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    73
    c)
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    74
      CLEAN="true"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    75
      ;;
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    76
    f)
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    77
      BUILD_JARS="jars_fresh"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    78
      ;;
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    79
    \?)
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    80
      usage
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    81
      ;;
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    82
  esac
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    83
done
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    84
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    85
shift $(($OPTIND - 1))
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
    86
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    87
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    88
# args
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    89
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    90
GRAPH_FILE=""
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    91
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    92
if [ "$#" -eq 0 -a "$BUILD_ONLY" = false ]; then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    93
  usage
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    94
elif [ "$#" -eq 1 ]; then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    95
  GRAPH_FILE="$1"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    96
  shift
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    97
else
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    98
  usage
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
    99
fi
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   100
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   101
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   102
## build
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   103
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   104
[ -e "$ISABELLE_HOME/Admin/build" ] && \
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   105
  { "$ISABELLE_HOME/Admin/build" "$BUILD_JARS" || exit $?; }
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   106
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   107
pushd "$GRAPHVIEW_HOME" >/dev/null || failed
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   108
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   109
PURE_JAR="$ISABELLE_HOME/lib/classes/ext/Pure.jar"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   110
COBRA_JAR="$ISABELLE_JEDIT_BUILD_HOME/contrib/cobra.jar"
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   111
JS_JAR="$ISABELLE_JEDIT_BUILD_HOME/contrib/js.jar"
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   112
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   113
TARGET_DIR="$ISABELLE_HOME/lib/classes"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   114
TARGET="$TARGET_DIR/ext/Graphview.jar"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   115
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   116
declare -a UPDATED=()
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   117
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   118
if [ "$BUILD_JARS" = jars_fresh ]; then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   119
  OUTDATED=true
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   120
else
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   121
  OUTDATED=false
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   122
  if [ ! -e "$TARGET" ]; then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   123
    OUTDATED=true
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   124
  else
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   125
    if [ -n "$ISABELLE_JEDIT_BUILD_HOME" ]; then
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   126
      declare -a DEPS=("$COBRA_JAR" "$JS_JAR" "$PURE_JAR" "${SOURCES[@]}")
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   127
    elif [ -e "$ISABELLE_HOME/Admin/build" ]; then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   128
      declare -a DEPS=("$PURE_JAR" "${SOURCES[@]}")
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   129
    else
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   130
      declare -a DEPS=()
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   131
    fi
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   132
    for DEP in "${DEPS[@]}"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   133
    do
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   134
      [ ! -e "$DEP" ] && fail "Missing file: $DEP"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   135
      [ "$DEP" -nt "$TARGET" ] && {
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   136
        OUTDATED=true
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   137
        UPDATED["${#UPDATED[@]}"]="$DEP"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   138
      }
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   139
    done
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   140
  fi
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   141
fi
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   142
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   143
if [ "$OUTDATED" = true ]
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   144
then
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   145
  echo "### Building Isabelle/Graphview ..."
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   146
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   147
  [ "${#UPDATED[@]}" -gt 0 ] && {
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   148
    echo "Changed files:"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   149
    for FILE in "${UPDATED[@]}"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   150
    do
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   151
      echo "  $FILE"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   152
    done
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   153
  }
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   154
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   155
  [ -z "$ISABELLE_JEDIT_BUILD_HOME" ] && \
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   156
    fail "Unknown ISABELLE_JEDIT_BUILD_HOME -- missing auxiliary component"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   157
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   158
  rm -rf classes && mkdir classes
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   159
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   160
  cp -p -R -f "$COBRA_JAR" "$TARGET_DIR/ext" || failed
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   161
  cp -p -R -f "$JS_JAR" "$TARGET_DIR/ext" || failed
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   162
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   163
  (
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   164
    for JAR in "$COBRA_JAR" "$JS_JAR" "$PURE_JAR"
49558
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   165
    do
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   166
      CLASSPATH="$CLASSPATH:$JAR"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   167
    done
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   168
    CLASSPATH="$(jvmpath "$CLASSPATH")"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   169
    exec "$SCALA_HOME/bin/scalac" $ISABELLE_SCALA_BUILD_OPTIONS -d classes "${SOURCES[@]}"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   170
  ) || fail "Failed to compile sources"
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   171
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   172
  cd classes
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   173
  isabelle_jdk jar cf "$TARGET" * || failed
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   174
  cd ..
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   175
  rm -rf classes
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   176
fi
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   177
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   178
popd >/dev/null
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   179
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   180
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   181
## run
af7b652180d5 minimal component and build setup for graphview;
wenzelm
parents:
diff changeset
   182
49563
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   183
if [ "$BUILD_ONLY" = false ]; then
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   184
  PRIVATE_FILE="${ISABELLE_TMP:-/tmp}/$$""$(basename "$GRAPH_FILE")"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   185
  if [ "$CLEAN" = true ]; then
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   186
    mv -f "$GRAPH_FILE" "$PRIVATE_FILE" || fail "Cannot move file: $GRAPH_FILE"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   187
  else
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   188
    cp -f "$GRAPH_FILE" "$PRIVATE_FILE" || fail "Cannot copy file: $GRAPH_FILE"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   189
  fi
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   190
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   191
  "$ISABELLE_TOOL" java isabelle.graphview.Graphview_Frame "$(jvmpath "$PRIVATE_FILE")"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   192
  RC="$?"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   193
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   194
  rm -f "$PRIVATE_FILE"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   195
  echo "$RC"
4b2762e12b47 more complete build;
wenzelm
parents: 49558
diff changeset
   196
fi