From 79fc9432dee319a4eb96c1e2ad9ecabe9287a344 Mon Sep 17 00:00:00 2001 From: Paul Schooss Date: Thu, 24 May 2018 18:11:59 -0400 Subject: [PATCH] Address comment --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mk b/common.mk index 181cc91..6728419 100644 --- a/common.mk +++ b/common.mk @@ -28,7 +28,7 @@ install-glide: # compesate for the lack of. This conditional tests an environmental variable # injected into SEMAPHORE instances, https://semaphoreci.com/docs/available-environment-variables.html prep-semaphore: - if [[ `df -T | grep "/$$" | grep ext` && $(SEMAPHORE) ]]; then sudo swapoff -a && sudo dd if=/dev/zero of=/swapfile bs=1M count=8192 && sudo mkswap /swapfile && sudo chmod 0600 /swapfile && sudo swapon /swapfile; fi + if [[ `df -T | grep '/$$' | grep ext` && $(SEMAPHORE) ]]; then sudo swapoff -a && sudo dd if=/dev/zero of=/swapfile bs=1M count=8192 && sudo mkswap /swapfile && sudo chmod 0600 /swapfile && sudo swapon /swapfile; fi install-ci: make prep-semaphore # test to see if running on SEMAPHORE instance