summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-06-16 19:57:31 +1000
committerDan McGee <dan@archlinux.org>2011-06-22 10:47:12 -0500
commit41f9fa9bed15b9e01b78edcea83b9c81679be3bf (patch)
treeda4f836cc0223810b9f606464543ae916e38c87b
parent3497eb4e2c1bf3869176f944ba97c289bebf2e30 (diff)
makepkg: move comment into correct place
Oops... Introduced by commit d21f6ca4. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 53fa1a0c..c1834a42 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