From 200af6aa8dbb5e346c5671e90fe3cb551bc85572 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Tue, 20 Sep 2016 13:19:38 -0700 Subject: [PATCH] Simplify the hardlink command invocation Because the intent is to create hardlinks where possible within the image/MIXVER directory tree, only the toplevel directory name needs to be given. This avoids arbitrarily long command lines when the glob is expanded by the shell. Signed-off-by: Patrick McCarty --- create-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create-update.sh b/create-update.sh index fd26e5a..35cef93 100755 --- a/create-update.sh +++ b/create-update.sh @@ -127,7 +127,7 @@ if [ $ZEROPACKS -eq 1 ]; then fi # step 4: hardlink relevant dirs -sudo -E "hardlink" -f "$STATE_DIR/image/$MIXVER"/* +sudo -E "hardlink" -f "$STATE_DIR/image/$MIXVER"/ # step 5: update latest version if [ $NOPUBLISH -eq 0 ]; then