makepkg: print only base filename of install/changelog files

The complete file path of a temporary symlink is really useless
information.

Signed-off-by: Cedric Staniewski <cedric@gmx.ca>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Cedric Staniewski 2010-06-03 17:33:08 +02:00 committed by Dan McGee
parent 756e49259d
commit 3739fe9913

View file

@ -1115,7 +1115,7 @@ create_srcpackage() {
# evaluate any bash variables used
eval file='${srclinks}/${pkgbase}/'${file}
if [[ ! -f $file ]]; then
msg2 "$(gettext "Adding %s file (%s)...")" "$i" "$file"
msg2 "$(gettext "Adding %s file (%s)...")" "$i" "${file##*/}"
ln -s "${startdir}/$file" "${srclinks}/${pkgbase}/"
fi
done