Skip to content

Commit

Permalink
scripts: install: Remove exit when createing directories
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelNdeCarvalho committed May 13, 2022
1 parent 8d4c232 commit a0d5671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ check_preexisting_install () {

install () {
# Copy distribution files to the installation directory
mkdir -p "$INSTALL_DIR" || exit 1
mkdir -p "$INSTALL_DIR"
cp -a "$INSTALLER_DIST_DIR" "$INSTALL_DIR" || exit 1

# Copy binaries to user's bin directory
mkdir -p "$BINS_DIR" || exit 1
mkdir -p "$BINS_DIR"
ln -s "$INSTALL_DIR/terrabutler" "$BIN_FILE" || exit 1

printf "Install has finished successfully.\nYou may now use '%s' command.\n" "$BIN_FILE"
Expand Down

0 comments on commit a0d5671

Please sign in to comment.