[pacman-dev] [PATCH] makepkg: move comment into correct place
Allan McRae
allan at archlinux.org
Wed Jun 22 04:54:09 EDT 2011
Oops... Introduced by commit d21f6ca4.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/makepkg.sh.in | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 53fa1a0..c1834a4 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -182,10 +182,6 @@ trap 'trap_exit "$(gettext "TERM signal caught. Exiting...")"' TERM HUP QUIT
trap 'trap_exit "$(gettext "Aborted by user! Exiting...")"' INT
trap 'trap_exit "$(gettext "An unknown error has occurred. Exiting...")"' ERR
-# a source entry can have two forms :
-# 1) "filename::http://path/to/file"
-# 2) "http://path/to/file"
-
enter_fakeroot() {
msg "$(gettext "Entering fakeroot environment...")"
@@ -196,6 +192,11 @@ enter_fakeroot() {
fi
}
+
+# a source entry can have two forms :
+# 1) "filename::http://path/to/file"
+# 2) "http://path/to/file"
+
# Return the absolute filename of a source entry
#
# This function accepts a source entry or the already extracted filename of a
--
1.7.5.4
More information about the pacman-dev
mailing list