Skip to content

Commit

Permalink
fix POSIX sh warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cremesk committed Dec 6, 2024
1 parent a971649 commit 7ab5fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CUSTOM_INSTALL_DIR="$(uci -qX get ffdd.sys.install_dir)"
[ -n "$CUSTOM_INSTALL_DIR" ] && [ "$CUSTOM_INSTALL_DIR" != "$INSTALL_DIR" ] && INSTALL_DIR="$CUSTOM_INSTALL_DIR"


[ "$(pwd)" == "$INSTALL_DIR" ] && cd /srv
[ "$(pwd)" = "$INSTALL_DIR" ] && cd /srv || exit 1
[ -d "$INSTALL_DIR" ] && rm -rf "$INSTALL_DIR"

git clone "$REPO_URL" "$INSTALL_DIR"
Expand Down

0 comments on commit 7ab5fcf

Please sign in to comment.