lib/Tools/display
changeset 15223 e669fb5b0f5a
parent 15218 39747a9e3c37
child 15703 727ef1b8b3ee
--- a/lib/Tools/display	Fri Oct 01 11:53:50 2004 +0200
+++ b/lib/Tools/display	Fri Oct 01 11:54:15 2004 +0200
@@ -76,8 +76,8 @@
 [ -f "$FILE" ] || fail "Bad file: $FILE"
 
 if [ -n "$CLEAN" ]; then
-  PRIVATE_FILE="$ISABELLE_TMP_PREFIX/"$$"$FILE"
-  mv "$FILE" "$PRIVATE_FILE" || fail "Cannot move file: $FILE"
+  PRIVATE_FILE="$ISABELLE_TMP/"$(basename "$FILE")
+  mv "$FILE" "$PRIVATE_FILE" ##|| fail "Cannot move file: $FILE"
   view "$PRIVATE_FILE"
   rm -f "$PRIVATE_FILE"
 else