commit:     ddd18bfa902e89b820b3fef1365984dcb641e5cb
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  8 23:10:42 2023 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 23:10:42 2023 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=ddd18bfa

copy_buildsync: fix check typo

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 scripts/copy_buildsync.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/copy_buildsync.sh b/scripts/copy_buildsync.sh
index c313af72..59f08f0a 100755
--- a/scripts/copy_buildsync.sh
+++ b/scripts/copy_buildsync.sh
@@ -209,7 +209,7 @@ process_arch() {
                #
                # Link the files for a given variant into a current-${v}/ 
directory.
                # If it's an old link, remove to convert to directory.
-               if test -l "current-$v" ; then rm "current-$v" ; fi
+               if test -L "current-$v" ; then rm "current-$v" ; fi
                mkdir -p "current-$v"
 
                # Remove old links in the directory.

Reply via email to