[pacman-dev] [PATCH] makepkg: print only base filename of install/changelog files

Cedric Staniewski cedric at gmx.ca
Thu Jun 3 11:33:08 EDT 2010


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

Signed-off-by: Cedric Staniewski <cedric at gmx.ca>
---
 scripts/makepkg.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index c5ce2a2..13feab1 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1112,7 +1112,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
-- 
1.7.1



More information about the pacman-dev mailing list