Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(simple_make): correct variable initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sudden6 authored and tox-user committed Jul 1, 2018
1 parent 9ca3875 commit 1537f83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions simple_make.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env bash

set -eu -o pipefail

# additional flags for apt-get, used for CI
readonly APT_FLAGS='$1'
readonly WITHOUT_SQLCIPHER='$2'
readonly APT_FLAGS=$1
readonly WITHOUT_SQLCIPHER=$2

set -eu -o pipefail

apt_install() {
local apt_packages=(
Expand Down Expand Up @@ -35,7 +35,7 @@ apt_install() {
)

if [ "$WITHOUT_SQLCIPHER" != "True" ]; then
apt_packages+=libsqlcipher-dev
apt_packages+=("libsqlcipher-dev")
fi

sudo apt-get install $APT_FLAGS "${apt_packages[@]}"
Expand Down

0 comments on commit 1537f83

Please sign in to comment.