1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/W/check_win64err

18 lines
556 B
Plaintext
Raw Normal View History

2019-07-03 01:20:46 +02:00
#!/bin/sh
2019-07-03 01:24:23 +02:00
# $Id: check_win64err,v 1.1 2019/02/18 12:01:21 gilles Exp gilles $
2019-07-03 01:20:46 +02:00
test -n "$1" || { echo usage: "$0 script.bat" && exit 1 ; }
test -d W/LOG_bat || mkdir W/LOG_bat
ERROR_FILENAME=$1.txt
rm -f "W/LOG_bat/$ERROR_FILENAME"
if scp pc_HP_DV7_p24:'Desktop/imapsync_build/LOG_bat/'"$ERROR_FILENAME" W/LOG_bat/ > /dev/null 2>&1 ; then
#echo -n "W/LOG_bat/$ERROR_FILENAME : "
#cat "W/LOG_bat/$ERROR_FILENAME"
sed -e "s#^#W/LOG_bat/$ERROR_FILENAME : #" "W/LOG_bat/$ERROR_FILENAME"
exit 1
else
echo NO errror
fi