index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | scripts/repo-add | 2 |
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 |