refactor(devc): harden entry script
- Resolve config.sh relative to the real script path (works via symlink). - Don't silently swallow errors from config.sh. - Default DEVC_REGISTRY to git.plabble.org/job79. - Add -no-pull to start without contacting the registry. - Host wrappers explain how to enable host-spawn instead of failing obscurely. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2 files changed
+7
-6
No files matched your search
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/bus"
|
||||
[[ -S /tmp/bus ]] || { echo "host-spawn unavailable: restart with 'devc -host-spawn'" >&2; exit 1; }
|
||||
|
||||
cmd="${0##*/}"
|
||||
[[ "$cmd" == "host" ]] && unset cmd
|
||||
|
||||
Reference in new issue
Block a user