summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCedric Staniewski <cedric@gmx.ca>2011-02-01 15:59:34 +0100
committerDan McGee <dan@archlinux.org>2011-02-01 10:04:44 -0600
commit3444146b48685deb4ebd68c3a5b4be5d2197b935 (patch)
tree52373dd9f94cf73a491b197ac5e0e680759c9987 /scripts
parent87240dae6d4631a812ee81ed53c1622dd164bfcf (diff)
downloadpacman-3444146b48685deb4ebd68c3a5b4be5d2197b935.tar.xz
makepkg: fix indention to follow style guide
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index b1b1b75a..0a90b89d 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1171,14 +1171,14 @@ create_srcpackage() {
exit 1 # TODO: error code
fi
- if (( ! ret )) && [[ ! "$SRCPKGDEST" -ef "${startdir}" ]]; then
- ln -sf "${pkg_file}" "${pkg_file/$SRCPKGDEST/$startdir}"
- ret=$?
- fi
-
- if (( ret )); then
- warning "$(gettext "Failed to create symlink to source package file.")"
- fi
+ if (( ! ret )) && [[ ! "$SRCPKGDEST" -ef "${startdir}" ]]; then
+ ln -sf "${pkg_file}" "${pkg_file/$SRCPKGDEST/$startdir}"
+ ret=$?
+ fi
+
+ if (( ret )); then
+ warning "$(gettext "Failed to create symlink to source package file.")"
+ fi
cd "${startdir}"
rm -rf "${srclinks}"