From edef18ef5c623f246a88bafdda1fb47a308c2a25 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 22 Jun 2025 10:26:48 +1200 Subject: [PATCH] 'Generic Commit' --- whatsdirty/publish.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/whatsdirty/publish.sh b/whatsdirty/publish.sh index 431311a..3d28b6f 100755 --- a/whatsdirty/publish.sh +++ b/whatsdirty/publish.sh @@ -21,10 +21,13 @@ GETPKG="${SCRIPT_DIR}/../getpkg/output/getpkg" "${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/whatsdirty.sh" "whatsdirty:latest" "${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/install.sh" "whatsdirty-install:latest" -# publish the tool -mkdir -p "${SCRIPT_DIR}/tool" -cp "${SCRIPT_DIR}/whatsdirty.sh" "${SCRIPT_DIR}/tool" -ln -s "${SCRIPT_DIR}/tool/whatsdirty.sh" "${SCRIPT_DIR}/tool/whatsdirty" +# publish the tool\ +TOOLDIR="${SCRIPT_DIR}/tool" +mkdir -p "${TOOLDIR}" +cp "${SCRIPT_DIR}/whatsdirty.sh" "${TOOLDIR}" +ln -s "${TOOLDIR}/whatsdirty.sh" "${TOOLDIR}/whatsdirty" # publish universal tool. -#"${GETPKG}" publish "${SCRIPT_DIR}/tool" "whatsdirty" +"${GETPKG}" publish "${TOOLDIR}" "whatsdirty" + +rm -rf "${TOOLDIR}" \ No newline at end of file