aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-06-13 18:21:54 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-06-13 18:21:54 +0200
commite11274a0c39e9b75f3a5452211480b18703e786a (patch)
tree566f8dccabf3cbadd7b9f353b2f94a00f5774b22
parentsnippets/ebuild-mode: add virtx.yas (diff)
downloademacs-ebuild-snippets-e11274a0c39e9b75f3a5452211480b18703e786a.tar.gz
emacs-ebuild-snippets-e11274a0c39e9b75f3a5452211480b18703e786a.tar.bz2
emacs-ebuild-snippets-e11274a0c39e9b75f3a5452211480b18703e786a.zip
eldev-install.sh: check if dist dir exists
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rwxr-xr-xscripts/eldev-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/eldev-install.sh b/scripts/eldev-install.sh
index a18cf55..b84fcc6 100755
--- a/scripts/eldev-install.sh
+++ b/scripts/eldev-install.sh
@@ -36,7 +36,7 @@ fi
cd "${root}"
-rm -r "${dist_dir}"
+[ -e "${dist_dir}" ] && rm -r "${dist_dir}"
make all