[Dev] [dbscripts] [PATCH 11/31] Avoid replacing the temporary dir by accident

Luke Shumaker lukeshu at lukeshu.com
Fri Apr 6 18:43:44 GMT 2018


From: Pierre Schmitz <pierre at archlinux.de>

(cherry picked from commit 1e8a10b3c8cef45513eb76c557f35dc8dd918334)
---
 test/cases/db-update.bats | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cases/db-update.bats b/test/cases/db-update.bats
index 4163530..014fe29 100755
--- a/test/cases/db-update.bats
+++ b/test/cases/db-update.bats
@@ -196,7 +196,7 @@ load ../lib/common
 	releasePackage extra 'pkg-simple-a' 'i686'
 
 	for p in "${STAGING}"/extra/*; do
-		mv "${p}" "${p/1/2}"
+		mv "${p}" "${p/pkg-simple-a-1/pkg-simple-a-2}"
 	done
 
 	! db-update >/dev/null 2>&1
-- 
2.16.2




More information about the Dev mailing list