Mercurial > hg > config
view bin/example/script-path.sh @ 824:16200adbd4f0
work around exit code for no changes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 07 Feb 2017 10:28:00 -0800 |
parents | 3da85ac3c54f |
children |
line wrap: on
line source
#!/bin/bash # echoes path to this script (example) echo "argv[0]: $0" path=`readlink -f $0` echo "path: ${path}" echo "basename: $(basename $0)"