This is an experimental copy for testing Poikilos' issue mirroring system. Note that Gitea's migration tool can import issues, but the "Issues" checkbox is disabled when "This repository will be a mirror" is enabled (it is for this repo).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
417 B

#!/bin/bash
BIN_DIR=~/finetest/bin
TRY_BIN_DIR=~/finetest-220509/bin
if [ -d "$TRY_BIN_DIR" ]; then
BIN_DIR=$TRY_BIN_DIR
fi
BIN=finetest
ERR=debug.txt
# OUT=out.txt
ERR_PATH=$BIN_DIR/$ERR
TAIL_PATH=$BIN_DIR/$ERR.tail.txt
cd $BIN_DIR && ./$BIN --quiet >& $ERR_PATH
if [ $? -ne 0 ]; then
tail -n 100 $ERR_PATH > $TAIL_PATH
# xmessage -file "$TAIL_PATH" -center
xmessage -file "$TAIL_PATH" -nearmouse
fi