diff options
author | tv <tv@krebsco.de> | 2018-09-11 20:18:01 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2018-09-11 20:18:01 +0200 |
commit | ca2477ab3a4dbe392e8b9e6614540c4b089ade82 (patch) | |
tree | 7ea1cfd0fe906dcc5c2573ff70f4c6f47c737df3 /krebs | |
parent | ea9fcce6944eb71ebb03862ced66cf280dad55a2 (diff) |
krebs krops: cd to proper stockholm directory
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/krops.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/krops.nix b/krebs/krops.nix index 5378d6fb0..e5013ad08 100644 --- a/krebs/krops.nix +++ b/krebs/krops.nix @@ -18,7 +18,7 @@ stockholm.file = toString ../.; stockholm-version.pipe = toString (pkgs.writeDash "${name}-version" '' set -efu - cd $HOME/stockholm + cd ${lib.escapeShellArg krebs-source.stockholm.file} V=$(${pkgs.coreutils}/bin/date +%y.%m) if test -d .git; then V=$V.git.$(${pkgs.git}/bin/git describe --always --dirty) |