]> git.armaanb.net Git - stagit.git/commit
fix issues in example scripts
authorHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 1 Mar 2019 10:49:29 +0000 (11:49 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 1 Mar 2019 10:49:29 +0000 (11:49 +0100)
commit587b01428d6ec2be1ab6b468198663118d483990
treea96e04a7c8cd494ed4edf4aeedd484372f32aa6f
parent477d50169a42431d7fb0f939eb851ef6a2d80c3a
fix issues in example scripts

- in case cd fails don't continue (don't write in previous directory).
- post-receive: quote $(pwd) in case it has spaces.

found by shellcheck tool.
example_create.sh
example_post-receive.sh