summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Staniewski <cedric@gmx.ca>2010-06-03 17:33:08 +0200
committerDan McGee <dan@archlinux.org>2010-06-03 21:15:50 +0200
commit3739fe9913af24ea24efc2c0c15c1ca234353fdf (patch)
treeb2351ff0867314655e3feb12c766b48554dafb7b
parent756e49259d1dcdd604b6db0b968cb81782597eca (diff)
downloadpacman-3739fe9913af24ea24efc2c0c15c1ca234353fdf.tar.gz
pacman-3739fe9913af24ea24efc2c0c15c1ca234353fdf.tar.xz
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>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 76b61833..c122c309 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -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