summaryrefslogtreecommitdiff
path: root/src/aur
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 00:47:49 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-13 00:47:49 -0500
commita07049cd10c57d0df4497e389dd5b08631a10049 (patch)
treeaeeed51f57e0d9f46eba22aeec55891aef746870 /src/aur
parent444cc22bc5cda7a4adc26982d3edbcfd1af426ed (diff)
aur: use bash builtins instead of sedv20121113
Diffstat (limited to 'src/aur')
-rwxr-xr-xsrc/aur2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aur b/src/aur
index 24d4317..f90a776 100755
--- a/src/aur
+++ b/src/aur
@@ -56,7 +56,7 @@ for _pkg in ${@}; do
fi
msg "Downloading $_pkg..."
- wget -O - -q https://aur.archlinux.org/packages/$(echo $_pkg | sed "s/^../&\/&/")/$_pkg.tar.gz | \
+ wget -O - -q https://aur.archlinux.org/packages/${_pkg:0:2}/${_pkg}/$_pkg.tar.gz | \
tar xzf - >/dev/null 2>&1
if [ $? -ne 0 ]; then