diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2020-10-21 08:18:39 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2020-10-21 08:26:42 +0200 |
commit | a0eacf4607f0262f6c3bb6ddf84113253b76d477 (patch) | |
tree | b0876042de898b9667b7d4e4fc267b3722e83c97 /sdn.cpp | |
parent | 37ad5f43df0d83301447c659340570d8d2637912 (diff) | |
download | sdn-a0eacf4607f0262f6c3bb6ddf84113253b76d477.tar.gz sdn-a0eacf4607f0262f6c3bb6ddf84113253b76d477.tar.xz sdn-a0eacf4607f0262f6c3bb6ddf84113253b76d477.zip |
Add an installation script
Copying snippets from the README was uncomfortable and laborious,
and wasted a lot of space in the document, especially after
the recent additions.
Closes #3
Diffstat (limited to 'sdn.cpp')
-rw-r--r-- | sdn.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1717,6 +1717,7 @@ int main (int argc, char *argv[]) { // We can't portably create a standard stream from an FD, so modify the FD dup2 (output_fd, STDOUT_FILENO); + // TODO: avoid printing any of this unless the SDN envvar is set if (g.cwd != g.start_dir && !g.no_chdir) cout << "local cd=" << shell_escape (g.cwd) << endl; else |