mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-06 05:31:50 +00:00
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:
committed by
Tudor Marcu
parent
9afbcbd4df
commit
200af6aa8d
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user