summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-02 16:32:59 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-02 16:32:59 -0600
commitc75faff5f623a44a6ca171d7e1d2db00bf10dca8 (patch)
treee867e9c8810f4d028e59067b905e65d1483ca9b5
parent43969cc70bf8f631bcfe8a628f903157d962ad9a (diff)
downloadimage-c75faff5f623a44a6ca171d7e1d2db00bf10dca8.tar.gz
image-c75faff5f623a44a6ca171d7e1d2db00bf10dca8.tar.bz2
image-c75faff5f623a44a6ca171d7e1d2db00bf10dca8.tar.xz
image-c75faff5f623a44a6ca171d7e1d2db00bf10dca8.zip
adelie-build-cd: Fix execution on Z shell
-rwxr-xr-xadelie-build-cd3
1 files changed, 3 insertions, 0 deletions
diff --git a/adelie-build-cd b/adelie-build-cd
index 6c3840f..82da436 100755
--- a/adelie-build-cd
+++ b/adelie-build-cd
@@ -6,6 +6,9 @@ def_ver="1.0-rc1"
readonly PROGNAME=$(basename $0)
+[ -z $ZSH_VERSION ] || set -y
+
+
warn() {
printf '>>> '
printf '\033[01;33mWARNING\033[00;39m '