summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-05-17 16:19:26 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-05-17 16:19:26 +0000
commit836f8f65f39324995af4f168548ebff351bf6056 (patch)
tree4c86e368b052d0991cc02c067d44a01f5cc4328b /bin
parenta909822ea915cfbf2387bd13885faf39f03a585d (diff)
downloadptxdist-836f8f65f39324995af4f168548ebff351bf6056.tar.gz
ptxdist-836f8f65f39324995af4f168548ebff351bf6056.tar.xz
check if we are on a workspace for clean & distclean
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5498 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ptxdist2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist
index e031ff7a3..9137812d7 100755
--- a/bin/ptxdist
+++ b/bin/ptxdist
@@ -629,6 +629,7 @@ while [ "$#" != "0" ]; do
exit 0
;;
clean) shift
+ check_ptxconfig
clean $1
exit 0
;;
@@ -637,6 +638,7 @@ while [ "$#" != "0" ]; do
export PTXDIST_MAKE_DBG="--debug=make"
;;
distclean) shift
+ check_ptxconfig
clean
echo "${PROMPT}removing toolchain link..."
rm -f .toolchain