summaryrefslogtreecommitdiff
path: root/scripts/import-local-packages
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/import-local-packages')
-rwxr-xr-xscripts/import-local-packages9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/import-local-packages b/scripts/import-local-packages
index be8e1688..70b4c365 100755
--- a/scripts/import-local-packages
+++ b/scripts/import-local-packages
@@ -3,4 +3,11 @@
LOCAL_PKG_DIR=build/config/packages.chroot
mkdir -p $LOCAL_PKG_DIR
-cp packages/*.deb $LOCAL_PKG_DIR
+
+FILES=packages/*.deb
+for f in $FILES
+do
+ if [ -e "$f" ]; then
+ cp $f $LOCAL_PKG_DIR
+ fi
+done