From 809b6fb223a615c179c4b8e09ff4e8e5059026ff Mon Sep 17 00:00:00 2001 From: Dominik Hassler Date: Sat, 23 Mar 2024 13:21:16 +0000 Subject: [PATCH] fix shell globbing --- bin/omni | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/omni b/bin/omni index 44dcc1a..5e5eee9 100755 --- a/bin/omni +++ b/bin/omni @@ -13,7 +13,7 @@ # # }}} # -# Copyright 2023 OmniOS Community Edition (OmniOSce) Association. +# Copyright 2024 OmniOS Community Edition (OmniOSce) Association. export PATH=/usr/bin:/usr/sbin:/opt/ooce/bin export OMNIVER=master @@ -728,7 +728,7 @@ function reset_buildrepo { echo "Clearing build IPS repository ($repo)..." [ -d "$repo/.zfs" ] && zfsrollback "$repo" - [ -d "$repo" ] && rm -rf "$repo/*" + [ -d "$repo" ] && rm -rf "$repo"/* pkgrepo create "$repo" pkgrepo add-publisher -s "$repo" omnios pkgrepo -s "$repo" info @@ -738,7 +738,7 @@ function cleanup_omnios { echo "Clearing temporary build directory..." for d in "$omnios_buildtmp" "$omnios_clone/tmp.repo"; do [ -d "$d/.zfs" ] && zfsrollback "$d" - [ -d "$d" ] && rm -rf "$d/*" + [ -d "$d" ] && rm -rf "$d"/* done reset_buildrepo "$omnios_buildrepo" reset_buildrepo "$braich_buildrepo"