summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <alyssa.ross@unikie.com>2022-11-24 08:46:01 +0000
committerAlyssa Ross <alyssa.ross@unikie.com>2022-11-24 08:46:01 +0000
commit682a2d45abc7c4cf895f1e6110e5aeb82bb82926 (patch)
tree9722dede20ef64f6a186ef78e4eb98437ccbf164
parent8ae8ca1e02bf151d98382496c4af78822630bb42 (diff)
downloadspectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar.gz
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar.bz2
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar.lz
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar.xz
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.tar.zst
spectrum-682a2d45abc7c4cf895f1e6110e5aeb82bb82926.zip
Documentation: update-gems.sh: cd to the right dir
This makes it possible to run Documentation/scripts/update-gems.sh
from the root of the source tree as well as from the Documentation
directory.

Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com>
-rwxr-xr-xDocumentation/scripts/update-gems.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/scripts/update-gems.sh b/Documentation/scripts/update-gems.sh
index d70f55f..a56f051 100755
--- a/Documentation/scripts/update-gems.sh
+++ b/Documentation/scripts/update-gems.sh
@@ -8,5 +8,6 @@
 
 set -euo pipefail
 
+cd "$(dirname "$0")/.."
 bundle lock --update
 bundix -l