summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/repo-add2
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