summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-09 12:50:07 -0200
committerRenato Botelho <renato@netgate.com>2016-11-09 12:57:38 -0200
commit5953790817735efc24cefe4494cad5dd5142aa5c (patch)
tree60d96c4f05d9ea81604604301f52d93c8423a058 /build
parent8e7fea674a34ab217c9b9821c608639ca45bd281 (diff)
downloadpfsense-5953790817735efc24cefe4494cad5dd5142aa5c.zip
pfsense-5953790817735efc24cefe4494cad5dd5142aa5c.tar.gz
err() expects a single parameter
Diffstat (limited to 'build')
-rwxr-xr-xbuild/scripts/git_checkout.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/scripts/git_checkout.sh b/build/scripts/git_checkout.sh
index f5dd410..8612c30 100755
--- a/build/scripts/git_checkout.sh
+++ b/build/scripts/git_checkout.sh
@@ -81,8 +81,8 @@ if [ -d "${destdir}/.git" ]; then
current_url=$(${git} -C ${destdir} config --get remote.origin.url)
[ "${current_url}" != "${repo_url}" ] \
- && err "destination directory contains a different git " \
- "repository"
+ && err \
+ "destination directory contains a different git repository"
run "Removing local changes from git repo ${repo_url} (${branch})" \
"${git} -C ${destdir} reset -q --hard"
OpenPOWER on IntegriCloud