From 2020e0ec73bd2e83ff1598492f758a03e7afe586 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Tue, 13 Mar 2007 15:01:15 +0000 Subject: * Sebastian Sareyko Fix repo-add filename addition (use basename) --- scripts/repo-add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/repo-add b/scripts/repo-add index 352d9df4..d6e2c5ae 100755 --- a/scripts/repo-add +++ b/scripts/repo-add @@ -148,7 +148,7 @@ db_write_entry() # create desc entry echo ":: creating 'desc' db entry" - echo -e "%FILENAME%\n$1\n" >> desc + echo -e "%FILENAME%\n$(basename $1)\n" >> desc echo -e "%NAME%\n$pkgname\n" >>desc echo -e "%VERSION%\n$pkgver\n" >>desc if [ -n "$pkgdesc" ]; then -- cgit v1.2.3-70-g09d2