You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create and spawn update script (see this may not work https://stackoverflow.com/questions/8595751/is-this-a-valid-self-update-approach-for-a-bash-script)
100
+
cat >${KSCRIPT_CACHE_DIR}/self_update.sh <<EOF
101
+
mv "$(which kscript).tmp" "$(which kscript)"
102
+
echo "You're now running kscript "$(kscript --help 2>&1| grep Version | cut -f2- | tr -d ':')
0 commit comments