From 8d4667f1c82f4b35ac59718a3aee42406ce936e7 Mon Sep 17 00:00:00 2001 From: Florian Heinemann Date: Wed, 5 Nov 2014 01:26:14 -0500 Subject: [PATCH] mv corrected --- bin/compile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index b8ba17f..a5df010 100755 --- a/bin/compile +++ b/bin/compile @@ -12,8 +12,10 @@ BINDIR=$(dirname "$0") BUILDDIR="${1}" CACHEDIR="${2}" +mkdir -p $CACHEDIR/www_cache +mv $BUILDDIR/* $CACHEDIR/www_cache mkdir -p $BUILDDIR/www -mv $BUILDDIR/* $BUILDDIR/www +mv $CACHEDIR/www_cache/* $BUILDDIR/www cd $CACHEDIR