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 <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2016-09-29 10:11:46 -07:00
committed by Tudor Marcu
parent 9afbcbd4df
commit 200af6aa8d
+1 -1
View File
@@ -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