r3062 - jhalfs/trunk/common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Aug 25 20:18:00 PDT 2006


Author: georgeb
Date: 2006-08-25 21:17:58 -0600 (Fri, 25 Aug 2006)
New Revision: 3062

Modified:
   jhalfs/trunk/common/makefile-functions
Log:
corrected unnoticed bug. Only occured if make was interrupted when the package had xxx-build directory

Modified: jhalfs/trunk/common/makefile-functions
===================================================================
--- jhalfs/trunk/common/makefile-functions	2006-08-24 21:29:01 UTC (rev 3061)
+++ jhalfs/trunk/common/makefile-functions	2006-08-26 03:17:58 UTC (rev 3062)
@@ -26,7 +26,7 @@
   @PKG_PATH=\`ls -t $(SRC)/$(1) | head -n1\` && \
   ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's@^./@@;s@/.*@@'` && \
   rm -rf $(SRC)/$$ROOT && \
-  rm -rf $(SRC)/$${ROOT-*}-build
+  rm -rf $(SRC)/$${ROOT%-*}-build
 endef
 
 define remove_build_dirs




More information about the alfs-log mailing list