We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ded2e commit 4b08069Copy full SHA for 4b08069
Scripts/Periphery/setup-and-run-periphery.sh
@@ -38,10 +38,10 @@ update_and_run() {
38
if [ -x "$PERIPHERY_PATH" ]; then
39
echo "Executable found. Checking version..."
40
# Get the current installed version
41
- CURRENT_VERSION=$($PERIPHERY_PATH version)
42
-
+ CURRENT_VERSION=$("$PERIPHERY_PATH" version)
+
43
# Compare the current version with the desired version
44
- if version_gt $PERIPHERY_VERSION $CURRENT_VERSION; then
+ if version_gt "$PERIPHERY_VERSION" "$CURRENT_VERSION"; then
45
echo "Current version ($CURRENT_VERSION) is older than $PERIPHERY_VERSION. Updating..."
46
update_and_run "$@"
47
else
0 commit comments