summaryrefslogtreecommitdiff
path: root/openwrt/scripts/make-ipkg-dir.sh
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-10-22 12:27:35 +0000
committerNicolas Thill <nico@openwrt.org>2005-10-22 12:27:35 +0000
commit8000dae1d79c68a1a48f65db9253f0cb290f77ab (patch)
tree189407667dd1a0c65fce5a3cde94d9258effa479 /openwrt/scripts/make-ipkg-dir.sh
parent3606854c5f0837da5370dcc3b52de6e0aa2c09bc (diff)
downloadmtk-20170518-8000dae1d79c68a1a48f65db9253f0cb290f77ab.zip
mtk-20170518-8000dae1d79c68a1a48f65db9253f0cb290f77ab.tar.gz
mtk-20170518-8000dae1d79c68a1a48f65db9253f0cb290f77ab.tar.bz2
fix typo in my last commit
SVN-Revision: 2232
Diffstat (limited to 'openwrt/scripts/make-ipkg-dir.sh')
-rwxr-xr-xopenwrt/scripts/make-ipkg-dir.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/make-ipkg-dir.sh b/openwrt/scripts/make-ipkg-dir.sh
index b43edc3..236cb6f 100755
--- a/openwrt/scripts/make-ipkg-dir.sh
+++ b/openwrt/scripts/make-ipkg-dir.sh
@@ -12,7 +12,7 @@ grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control"
grep '^Maintainer' "$CONTROL" 2>&1 >/dev/null || \
echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> "$TARGET/CONTROL/control"
grep '^Source' "$CONTROL" 2>&1 >/dev/null || {
- pkgbase=$(echo "$WD)" | sed -e "s|^$TOPDIR/||g")
+ pkgbase=$(echo "$WD" | sed -e "s|^$TOPDIR/||g")
[ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase"
echo "Source: $src" >> "$TARGET/CONTROL/control"
}