source: wspkg/debian/debian.deps.sh @ cfaff76

Last change on this file since cfaff76 was cfaff76, checked in by Ting-Wei Lan <lantw44@…>, 7 years ago

提供多數選項的預設值,並採用新的 template 處理方式

  • Property mode set to 100755
File size: 219 bytes
Line 
1#!/bin/sh
2
3list_file="$1"
4: ${list_file:="debian.list"}
5
6loop_first=1
7for pkg in `cat "${list_file}"`; do
8        if [ "${loop_first}" = "1" ]; then
9                printf "%s" "${pkg}"
10        else
11                printf ", %s" "${pkg}"
12        fi
13        loop_first=0
14done
Note: See TracBrowser for help on using the repository browser.