# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2003-2006 The Trustees of Princeton University
#
-# $Id: Rules.mk,v 1.34 2007/07/19 20:39:33 mef Exp $
+# $Id: Rules.mk,v 1.35 2007/08/22 14:41:32 mef Exp $
#
# Base rpmbuild in the current directory
.rpmbuild.sh:
echo "# GENERATED BY Rules.mk" > $@
- echo "export HOME=$(HOME)" >> $@
+ echo 'export HOME=$(PWD)' >> $@
echo "# There must be a more clever way to pass all args to rpmbuild!" >> $@
echo 'rpmbuild $$1 $$2 $$3 $$4 $$5 $$6' >> $@
+ chmod 755 .rpmbuild.sh
# Remove files generated by this package
clean: