diff options
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-13 15:01:15 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-13 15:01:15 +0000 |
commit | 2020e0ec73bd2e83ff1598492f758a03e7afe586 (patch) | |
tree | 89fbc769d65b8a8abbb3bb6c2def2465f47e1122 | |
parent | 74e8b28fc34ee9b40f6b3b5daacdbe1713f3bc1f (diff) | |
download | pacman-2020e0ec73bd2e83ff1598492f758a03e7afe586.tar.xz |
* Sebastian Sareyko
Fix repo-add filename addition (use basename)
-rwxr-xr-x | scripts/repo-add | 2 |
1 files changed, 1 insertions, 1 deletions
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 |