diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-06-18 10:00:25 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2005-06-18 10:00:25 +0000 |
commit | 0ff5373253ecab379260cd2a794e7f0d36391fe1 (patch) | |
tree | ede4e3db16c152866f92ede25b1a10598e2a8c81 | |
parent | f6e03e8bed1effdd4993c628c2da8206b35d1ce2 (diff) | |
download | ptxdist-0ff5373253ecab379260cd2a794e7f0d36391fe1.tar.gz ptxdist-0ff5373253ecab379260cd2a794e7f0d36391fe1.tar.xz |
there's no need to have ipkg-cl in path when your are not building ipkg stuff; patch by Steven Scholz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2832 33e552b5-05e3-0310-8538-816dae2090ed
-rwxr-xr-x | scripts/make_image_root.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/make_image_root.sh b/scripts/make_image_root.sh index 9aae7a654..b05419e4d 100755 --- a/scripts/make_image_root.sh +++ b/scripts/make_image_root.sh @@ -59,6 +59,7 @@ IPKGCONF=`abspath $IPKGCONF` [ -z "$ERASEBLOCKSIZE" ] && usage "error: erase block size not specified" [ ! -x "`which mkfs.jffs2`" ] && usage "error: you need mkfs.jffs2 in your path" [ ! -x "`which fakeroot`" ] && usage "error: you need fakeroot in your path" +[ -n "$IPKGDIR" ] && \ [ ! -x "`which ipkg-cl`" ] && usage "error: you need ipkg-cl in your path" [ -z "$OUTFILE" ] && usage "error: specify an output file with -o" [ ! -f "$IPKGCONF" ] && usage "error: $IPKGCONF does not exist" |