r3063 - jhalfs/branches/experimental/common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Aug 25 20:19:13 PDT 2006


Author: georgeb
Date: 2006-08-25 21:19:13 -0600 (Fri, 25 Aug 2006)
New Revision: 3063

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

Modified: jhalfs/branches/experimental/common/makefile-functions
===================================================================
--- jhalfs/branches/experimental/common/makefile-functions	2006-08-26 03:17:58 UTC (rev 3062)
+++ jhalfs/branches/experimental/common/makefile-functions	2006-08-26 03:19:13 UTC (rev 3063)
@@ -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