aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/create_container4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/create_container b/contrib/create_container
index f03a96f..87c4f82 100755
--- a/contrib/create_container
+++ b/contrib/create_container
@@ -17,7 +17,7 @@
##########################################
CURDIR=$(cd $(dirname $0) && pwd -P)
-DEFIMAGE=$(make -s -C $CURDIR show-image)
+DEFIMAGE=$(make -s -C $CURDIR/.. show-image)
function usage() {
echo "Usage: $(basename $0) <instance ID> [image name]" >&2
@@ -33,8 +33,6 @@ case $1 in
;;
esac
-CURDIR=$(cd $(dirname $0) && pwd -P)
-
ID=$1
IMAGE=${2:-$DEFIMAGE}