aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-08-25 07:27:39 -0500
committerColin Okay <colin@cicadas.surf>2022-08-25 07:27:39 -0500
commit61cd82a13f9a35544061c7dd3bc8bf4a71015fbe (patch)
tree3d2947efdef6b452bec290b618a045f2c48fc08b
parent65a6e08768b998c795f53451598184584da374c0 (diff)
[add] touching board names to update their mod times on writeHEADmain
-rwxr-xr-xthreadcat-write.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadcat-write.sh b/threadcat-write.sh
index f0cc842..c1e4aa4 100755
--- a/threadcat-write.sh
+++ b/threadcat-write.sh
@@ -15,7 +15,7 @@ fi
if [ ! -z "${THREAD_NAME}" ]; then
- cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH"
+ cat - | ssh $THREADCAT_USER "umask 002 && mkdir -p $THREAD_BOARD_PATH && touch $THREAD_BOARD_PATH && echo >> $THREAD_PATH && echo '===> $THREADCAT_USER -- `date` <===' >> $THREAD_PATH && cat - >> $THREAD_PATH"
echo "Posted to $BOARD_NAME/$THREAD_NAME"
else
echo You did not provide a thread name.