nix(refactor): Move shell scripts to subdirectory nix/tools

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent fe497fc438
commit b566481477
12 changed files with 12 additions and 12 deletions
@@ -44,7 +44,7 @@ let
--replace nightly \
"postgrest-nightly-$suffix-linux-x64-static.tar.xz"
else
changes="$(sed -n "1,/$_arg_version/d;/## \[/q;p" ${../../CHANGELOG.md})"
changes="$(sed -n "1,/$_arg_version/d;/## \[/q;p" ${../../../CHANGELOG.md})"
tar cvJf "postgrest-$_arg_version-linux-x64-static.tar.xz" \
-C ${postgrest}/bin postgrest
@@ -27,7 +27,7 @@ let
if test ! -v PGRST_DB_URI; then
export PATH=${postgresql}/bin:"$PATH"
exec ${../test/with_tmp_db} "$_arg_command" "''${_arg_leftovers[@]}"
exec ${../../test/with_tmp_db} "$_arg_command" "''${_arg_leftovers[@]}"
else
"$@"
fi