Changeset 2231


Ignore:
Timestamp:
2005-10-22T14:25:42+02:00 (12 years ago)
Author:
nico
Message:

set undefined WD variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/scripts/make-ipkg-dir.sh

    r2209 r2231  
    66ARCH=$4 
    77 
     8WD=$(pwd) 
     9 
    810mkdir -p "$TARGET/CONTROL" 
    911grep '^[^(Version|Architecture)]' "$CONTROL" > "$TARGET/CONTROL/control" 
     
    1113        echo "Maintainer: OpenWrt Developers Team <openwrt-devel@openwrt.org>" >> "$TARGET/CONTROL/control" 
    1214grep '^Source' "$CONTROL" 2>&1 >/dev/null || { 
    13         pkgbase=$(pwd | sed -e "s|^$TOPDIR/||g") 
     15        pkgbase=$(echo "$WD)" | sed -e "s|^$TOPDIR/||g") 
    1416        [ "$pkgbase" = "$WD" ] && src="N/A" || src="$BASE/$pkgbase" 
    1517        echo "Source: $src" >> "$TARGET/CONTROL/control" 
Note: See TracChangeset for help on using the changeset viewer.